perf: 远程配下载与合并

pull/192/head
xiaojunnuo 2021-08-27 17:27:25 +08:00
parent 296c5c15f0
commit 06c1fb0340
3 changed files with 6 additions and 0 deletions

View File

@ -182,6 +182,7 @@ const configApi = {
lodash.mergeWith(merged, newConfig, customizer)
_deleteDisabledItem(merged)
configTarget = merged
log.info('加载配置完成')
return configTarget
},
getDefault () {

View File

@ -180,6 +180,10 @@ module.exports = {
}
},
whiteList: {
'apple.com': true,
'*.apple.com': true,
'microsoft.com': true,
'*.microsoft.com': true,
'alipay.com': true,
'*.alipay.com': true,
'pay.weixin.qq.com': true,

View File

@ -53,6 +53,7 @@ export default {
},
onRemoteConfigEnabledChange () {
this.saveConfig()
this.$message.info('请重启加速服务')
}
}
}