mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-04-28 17:15:18 +08:00
在网站WAF中,可以导出和导入规则集代码,优化修改规则集交互
This commit is contained in:
@@ -40,4 +40,16 @@ Tea.context(function () {
|
||||
}
|
||||
return group.sets
|
||||
}
|
||||
|
||||
// 使用代码
|
||||
this.useCode = false
|
||||
this.switchToCode = function () {
|
||||
this.useCode = !this.useCode
|
||||
|
||||
if (this.useCode) {
|
||||
this.$delay(function () {
|
||||
this.$refs.codeInput.focus()
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user