system-phone 3.1.17 → 3.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,9 +81,17 @@ let asyncReady = async function (self, url) {
81
81
  if (!dir_module[mod].name.startsWith('af-')) {
82
82
  mod_url = `${url}/${dir_module[mod].name}/rs/vue`
83
83
  }
84
- const config = await Vue.resetget(mod_url, {data: {}}, {resolveMsg: null, rejectMsg: null})
85
- self.delConfigKey(config.data)
86
- vueConfig[dir_module[mod].name] = config.data;
84
+ let config = null
85
+ try{
86
+ config = await Vue.resetget(mod_url, {data: {}}, {resolveMsg: null, rejectMsg: null})
87
+ }catch (e) {
88
+ console.log('获取配置报错-先跳过', e)
89
+ }
90
+ // 拿到的配置有问题就跳过
91
+ if(config && config.data instanceof Object){
92
+ self.delConfigKey(config.data)
93
+ vueConfig[dir_module[mod].name] = config.data;
94
+ }
87
95
  }
88
96
  }
89
97
  that.$set('config', vueConfig)