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 => {