mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-08 16:00:26 +08:00
11 lines
253 B
JavaScript
11 lines
253 B
JavaScript
Tea.context(function () {
|
|
this.upgradeTemplate = function () {
|
|
teaweb.confirm("确定要加入这些新规则吗?", function () {
|
|
this.$post(".upgradeTemplate")
|
|
.params({
|
|
policyId: this.firewallPolicy.id
|
|
})
|
|
.refresh()
|
|
})
|
|
}
|
|
}) |