在网站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

@@ -0,0 +1,10 @@
{$layout "layout_popup"}
<h3>规则集 “{{setName}}” 代码</h3>
<form class="ui form" data-tea-action="$">
<textarea rows="13">{{code}}</textarea>
<p class="comment">你可以将此段代码复制并在创建规则集的时候使用。</p>
<button class="ui button" type="button" @click.prevent="closePopup">关闭窗口</button>
</form>