mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-10 01:03:26 +08:00
实现缓存策略的部分功能
This commit is contained in:
@@ -11,18 +11,6 @@ Tea.context(function () {
|
||||
})
|
||||
}
|
||||
|
||||
// 修改策略
|
||||
this.updatePolicy = function (policyId) {
|
||||
teaweb.popup("/servers/components/cache/updatePopup?cachePolicyId=" + policyId, {
|
||||
height: "27em",
|
||||
callback: function () {
|
||||
teaweb.success("保存成功", function () {
|
||||
window.location.reload()
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 删除策略
|
||||
this.deletePolicy = function (policyId) {
|
||||
let that = this
|
||||
|
||||
Reference in New Issue
Block a user