mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-12 11:20:27 +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
|
return ((!this.vIsLocation && !this.vIsGroup) || this.config.isPrior) && this.config.isOn
|
||||||
},
|
},
|
||||||
changeAllowDomains: function (domains) {
|
changeAllowDomains: function (domains) {
|
||||||
|
if (typeof (domains) == "object") {
|
||||||
|
this.config.allowDomains = domains
|
||||||
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
changeDenyDomains: function (domains) {
|
changeDenyDomains: function (domains) {
|
||||||
|
if (typeof (domains) == "object") {
|
||||||
|
this.config.denyDomains = domains
|
||||||
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
template: `<div>
|
template: `<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user