|
|
|
@ -91,7 +91,13 @@ export default { |
|
|
|
}, |
|
|
|
created() { |
|
|
|
if (this.$peisAPI) { |
|
|
|
this.$peisAPI.lazyLoadMenuContrl(); // 加载窗口按钮 dll |
|
|
|
this.$peisAPI.lazyLoadMenuContrl() |
|
|
|
.then(res =>{ |
|
|
|
console.log('this.$peisAPI.lazyLoadMenuContrl',res) |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
console.log('this.$peisAPI.lazyLoadMenuContrl err',err) |
|
|
|
}); // 加载窗口按钮 dll |
|
|
|
} |
|
|
|
this.LocalConfigInit = deepCopy(this.LocalConfig) |
|
|
|
let LocalConfig = window.localStorage.getItem("LocalConfig") || null |
|
|
|
@ -105,7 +111,6 @@ export default { |
|
|
|
await this.getSysConfig() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
|
async getSysConfig() { |
|
|
|
try { |
|
|
|
let res = await axios.get('/sysConfig.json', { timeout: 50000 }) // , { timeout: 50000 } |
|
|
|
|