实现缓存策略的部分功能

This commit is contained in:
GoEdgeLab
2020-10-04 14:27:05 +08:00
parent bfa6227a82
commit de5ad48070
49 changed files with 1444 additions and 189 deletions

View File

@@ -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