WAF策略增加显示页面动作默认设置

This commit is contained in:
GoEdgeLab
2024-01-20 16:17:28 +08:00
parent 8c084e8cef
commit 3aa79bb38c
7 changed files with 229 additions and 64 deletions

View File

@@ -0,0 +1,15 @@
Vue.component("http-firewall-page-options-viewer", {
props: ["v-page-options"],
data: function () {
return {
options: this.vPageOptions
}
},
template: `<div>
<span v-if="options == null">默认设置</span>
<div v-else>
状态码:{{options.status}} / 提示内容:<span v-if="options.body != null && options.body.length > 0">[{{options.body.length}}字符]</span>
</div>
</div>
`
})