mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 06:40:27 +08:00
防盗链功能增加禁止的来源域名
This commit is contained in:
@@ -8,7 +8,6 @@ Vue.component("http-firewall-rule-label", {
|
||||
},
|
||||
methods: {
|
||||
showErr: function (err) {
|
||||
|
||||
teaweb.popupTip("规则校验错误,请修正:<span class=\"red\">" + teaweb.encodeHTML(err) + "</span>")
|
||||
},
|
||||
|
||||
@@ -24,7 +23,8 @@ Vue.component("http-firewall-rule-label", {
|
||||
|
||||
<!-- refererBlock -->
|
||||
<span v-if="rule.param == '\${refererBlock}'">
|
||||
{{rule.checkpointOptions.allowDomains}}
|
||||
<span v-if="rule.checkpointOptions.allowDomains != null && rule.checkpointOptions.allowDomains.length > 0">允许{{rule.checkpointOptions.allowDomains}}</span>
|
||||
<span v-if="rule.checkpointOptions.denyDomains != null && rule.checkpointOptions.denyDomains.length > 0">禁止{{rule.checkpointOptions.denyDomains}}</span>
|
||||
</span>
|
||||
|
||||
<span v-else>
|
||||
|
||||
Reference in New Issue
Block a user