[用户节点]可以管理用户节点

This commit is contained in:
刘祥超
2020-12-14 21:24:21 +08:00
parent 4955a86792
commit ac6c4bf751
39 changed files with 1205 additions and 19 deletions

View File

@@ -0,0 +1,12 @@
Tea.context(function () {
this.success = NotifySuccess("保存成功", "/settings/userNodes/node?nodeId=" + this.node.id)
this.hasHTTPS = this.node.listens.$any(function (k, v) {
return v.protocol == "https"
})
this.changeListens = function (addrs) {
this.hasHTTPS = addrs.$any(function (k, v) {
return v.protocol == "https"
})
}
})