在网站WAF中,可以导出和导入规则集代码,优化修改规则集交互

This commit is contained in:
刘祥超
2024-05-06 20:25:36 +08:00
parent a0559e3456
commit a97dd9d07b
11 changed files with 293 additions and 98 deletions

View File

@@ -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()
})
}
}
})