服务分组可以设置请求限制

This commit is contained in:
GoEdgeLab
2021-12-12 17:07:16 +08:00
parent 8f401d7357
commit da3d6ff882
8 changed files with 142 additions and 9 deletions

View File

@@ -3,12 +3,18 @@
{$template "/left_menu_with_menu"}
<div class="right-box with-menu">
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="webId" :value="webId"/>
<csrf-token></csrf-token>
<div v-if="hasGroupConfig">
<div class="margin"></div>
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
</div>
<div :class="{'opacity-mask': hasGroupConfig}">
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="webId" :value="webId"/>
<csrf-token></csrf-token>
<http-request-limit-config-box :v-request-limit-config="requestLimitConfig"></http-request-limit-config-box>
<http-request-limit-config-box :v-request-limit-config="requestLimitConfig"></http-request-limit-config-box>
<submit-btn></submit-btn>
</form>
<submit-btn></submit-btn>
</form>
</div>
</div>