From 980b0a6e50142adaa9123ac3245dc326bfbd75f8 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Mon, 19 Oct 2020 09:12:29 +0200 Subject: [PATCH] =?UTF-8?q?el-table=E5=AE=9E=E7=8E=B0IPTV=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/EditSites.vue | 4 +- src/components/IPTV.vue | 90 +++++++++++++++--------------------- 2 files changed, 39 insertions(+), 55 deletions(-) diff --git a/src/components/EditSites.vue b/src/components/EditSites.vue index fb20f17..08643dd 100644 --- a/src/components/EditSites.vue +++ b/src/components/EditSites.vue @@ -24,7 +24,7 @@ align="right" width="140"> @@ -229,7 +229,7 @@ export default { sites.clear().then(sites.bulkAdd(defaultSites).then(this.getSites())) this.$message.success('重置源成功') }, - moveSiteToTop (i) { + moveToTopEvent (i) { this.sites.sort(function (x, y) { return x.key === i.key ? -1 : y.key === i.key ? 1 : 0 }) this.updateDatabase(this.sites) }, diff --git a/src/components/IPTV.vue b/src/components/IPTV.vue index 40c39b0..00e7176 100644 --- a/src/components/IPTV.vue +++ b/src/components/IPTV.vue @@ -1,53 +1,35 @@