[网站域名]在列表中可以查看网站域名列表,并可以筛选

This commit is contained in:
GoEdgeLab
2020-12-07 12:11:48 +08:00
parent 8f1e5e4fc0
commit 56bafbce2b
6 changed files with 85 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
Tea.context(function () {
let allServerNames = this.serverNames.$copy();
this.keyword = ""
this.$delay(function () {
let that = this
this.$watch("keyword", function (keyword) {
that.serverNames = allServerNames.$findAll(function (k, serverName) {
return teaweb.match(serverName, keyword)
})
})
})
})