mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-12 11:20:27 +08:00
实现缓存策略的部分功能
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
Tea.context(function () {
|
||||
this.success = NotifySuccess("保存成功", "/api")
|
||||
|
||||
this.hasHTTPS = false
|
||||
this.changeListens = function (addrs) {
|
||||
this.hasHTTPS = addrs.$any(function (k, v) {
|
||||
return v.protocol == "https"
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user