From 11559ca164a19ba4c5fc9e6bb351ec2fbca8d575 Mon Sep 17 00:00:00 2001
From: buvta <12312540+buvta@users.noreply.github.com>
Date: Sat, 7 Nov 2020 00:39:20 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=BA=90=E7=AB=99=E5=8F=8A=E7=9B=B4?=
=?UTF-8?q?=E6=92=AD=E6=BA=90=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2"?=
=?UTF-8?q?=E6=B8=85=E7=A9=BA"=E6=9B=BF=E6=8D=A2=E4=B8=BA=E6=89=B9?=
=?UTF-8?q?=E9=87=8F=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/EditSites.vue | 19 +++++++------------
src/components/IPTV.vue | 19 +++++++------------
2 files changed, 14 insertions(+), 24 deletions(-)
diff --git a/src/components/EditSites.vue b/src/components/EditSites.vue
index 82adf18..922dc30 100644
--- a/src/components/EditSites.vue
+++ b/src/components/EditSites.vue
@@ -7,7 +7,6 @@
导出
导入
检测
- 清空
重置
@@ -33,6 +33,8 @@
sites.remove(e.id))
+ this.getSites()
},
rowDrop () {
if (this.checkAllSitesLoading) {
diff --git a/src/components/IPTV.vue b/src/components/IPTV.vue
index f7d418d..782afaf 100644
--- a/src/components/IPTV.vue
+++ b/src/components/IPTV.vue
@@ -5,7 +5,6 @@
导出
导入
检测
- 清空
重置
@@ -42,6 +42,8 @@
{{scope.row.group}}
@@ -208,9 +210,6 @@ export default {
this.video = { iptv: { name: e.name, url: e.url } }
this.view = 'Play'
},
- filterHandle (value, row) {
- return row.group === value
- },
containsearchTxt (i) {
if (this.searchTxt) {
return i.name.toLowerCase().includes(this.searchTxt.toLowerCase())
@@ -337,13 +336,9 @@ export default {
}
iptv.clear().then(iptv.bulkAdd(defaultChannels).then(this.getChannels()))
},
- removeAllChannels () {
- this.stopFlag = true
- if (this.checkAllChannelsLoading) {
- this.$message.info('部分检测还未完全终止, 请稍等...')
- return
- }
- iptv.clear().then(this.getChannels())
+ removeSelectedChannels () {
+ this.multipleSelection.forEach(e => iptv.remove(e.id))
+ this.getChannels()
},
getChannels () {
iptv.all().then(res => {