perf: 远程配下载与合并
parent
296c5c15f0
commit
06c1fb0340
|
@ -182,6 +182,7 @@ const configApi = {
|
|||
lodash.mergeWith(merged, newConfig, customizer)
|
||||
_deleteDisabledItem(merged)
|
||||
configTarget = merged
|
||||
log.info('加载配置完成')
|
||||
return configTarget
|
||||
},
|
||||
getDefault () {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -53,6 +53,7 @@ export default {
|
|||
},
|
||||
onRemoteConfigEnabledChange () {
|
||||
this.saveConfig()
|
||||
this.$message.info('请重启加速服务')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue