Skip to content

Commit ffd6a20

Browse files
committed
优化界面文字和细节
1 parent 2ee3e27 commit ffd6a20

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

web/public/js/components.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,7 +2138,7 @@ Vue.component("traffic-map-box",{props:["v-stats","v-is-attack"],mounted:functio
21382138
</td>
21392139
</tr>
21402140
</tbody>
2141-
<more-options-tbody @change="changeOptionsVisible"></more-options-tbody>
2141+
<more-options-tbody @change="changeOptionsVisible" v-show="firewall.isOn"></more-options-tbody>
21422142
<tbody v-show="moreOptionsVisible">
21432143
<tr>
21442144
<td>启用系统全局规则</td>
@@ -3054,7 +3054,7 @@ example2.com
30543054
<span v-if="config.code == 'post_307' && config.options.life > 0">:有效期{{config.options.life}}秒</span>
30553055

30563056
<!-- record_ip -->
3057-
<span v-if="config.code == 'record_ip'">:{{config.options.ipListName}}</span>
3057+
<span v-if="config.code == 'record_ip'">:<span :class="{red: config.options.ipListIsDeleted}">{{config.options.ipListName}}</span></span>
30583058

30593059
<!-- tag -->
30603060
<span v-if="config.code == 'tag'">:{{config.options.tags.join(", ")}}</span>

web/public/js/components.src.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5700,7 +5700,7 @@ Vue.component("http-firewall-config-box", {
57005700
</td>
57015701
</tr>
57025702
</tbody>
5703-
<more-options-tbody @change="changeOptionsVisible"></more-options-tbody>
5703+
<more-options-tbody @change="changeOptionsVisible" v-show="firewall.isOn"></more-options-tbody>
57045704
<tbody v-show="moreOptionsVisible">
57055705
<tr>
57065706
<td>启用系统全局规则</td>
@@ -9238,7 +9238,7 @@ Vue.component("http-firewall-actions-box", {
92389238
<span v-if="config.code == 'post_307' && config.options.life > 0">:有效期{{config.options.life}}秒</span>
92399239

92409240
<!-- record_ip -->
9241-
<span v-if="config.code == 'record_ip'">:{{config.options.ipListName}}</span>
9241+
<span v-if="config.code == 'record_ip'">:<span :class="{red: config.options.ipListIsDeleted}">{{config.options.ipListName}}</span></span>
92429242

92439243
<!-- tag -->
92449244
<span v-if="config.code == 'tag'">:{{config.options.tags.join(", ")}}</span>

web/public/js/components/server/http-firewall-config-box.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Vue.component("http-firewall-config-box", {
5353
</td>
5454
</tr>
5555
</tbody>
56-
<more-options-tbody @change="changeOptionsVisible"></more-options-tbody>
56+
<more-options-tbody @change="changeOptionsVisible" v-show="firewall.isOn"></more-options-tbody>
5757
<tbody v-show="moreOptionsVisible">
5858
<tr>
5959
<td>启用系统全局规则</td>

web/views/@default/servers/components/waf/createGroupPopup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3>添加分组</h3>
1717
<td>代号</td>
1818
<td>
1919
<input type="text" name="code" maxlength="100"/>
20-
<p class="comment">在导入时可以合并相同代号的分组。</p>
20+
<p class="comment">可选项,在导入时可以合并相同代号的分组。</p>
2121
</td>
2222
</tr>
2323
<tr>

web/views/@default/servers/components/waf/updateGroupPopup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h3>修改分组</h3>
1616
<td>代号</td>
1717
<td>
1818
<input type="text" name="code" maxlength="100" v-model="group.code"/>
19-
<p class="comment">在导入时可以合并相同代号的分组。</p>
19+
<p class="comment">可选项,在导入时可以合并相同代号的分组。</p>
2020
</td>
2121
</tr>
2222
<tr>

0 commit comments

Comments
 (0)