mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 14:50:25 +08:00
修复防盗链设置中域名无法修改的Bug
This commit is contained in:
@@ -27,8 +27,16 @@ Vue.component("http-referers-config-box", {
|
||||
return ((!this.vIsLocation && !this.vIsGroup) || this.config.isPrior) && this.config.isOn
|
||||
},
|
||||
changeAllowDomains: function (domains) {
|
||||
if (typeof (domains) == "object") {
|
||||
this.config.allowDomains = domains
|
||||
this.$forceUpdate()
|
||||
}
|
||||
},
|
||||
changeDenyDomains: function (domains) {
|
||||
if (typeof (domains) == "object") {
|
||||
this.config.denyDomains = domains
|
||||
this.$forceUpdate()
|
||||
}
|
||||
}
|
||||
},
|
||||
template: `<div>
|
||||
|
||||
Reference in New Issue
Block a user