mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-02-13 15:35:28 +08:00
移除过滤关键词列表中的空格
This commit is contained in:
@@ -276,7 +276,8 @@ export default {
|
||||
this.filterKeywordsDialogVisible = true
|
||||
},
|
||||
saveFilterKeywords () {
|
||||
this.setting.classFilter = this.filterKeywords.split(',')
|
||||
// 移除空格,然后按逗号分开
|
||||
this.setting.classFilter = this.filterKeywords.replace(/\s/g, '').split(',')
|
||||
setting.update(this.setting)
|
||||
this.filterKeywordsDialogVisible = false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user