自动禁用空代理

This commit is contained in:
lyswhut
2021-03-18 17:30:44 +08:00
parent 1d8702e95f
commit b4c7a6e448
5 changed files with 23 additions and 6 deletions
+14
View File
@@ -164,6 +164,20 @@ export default {
}))
}
},
'globalObj.proxy.enable'(n, o) {
if (n != this.setting.network.proxy.enable) {
this.setSetting({
...this.setting,
network: {
...this.setting.network,
proxy: {
...this.setting.network.proxy,
enable: n,
},
},
})
}
},
'windowSizeActive.fontSize'(n) {
document.documentElement.style.fontSize = n
},