mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 12:20:28 +08:00
12 lines
347 B
JavaScript
12 lines
347 B
JavaScript
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"
|
|
})
|
|
}
|
|
}) |