解决全局变量ts报错
新建全局文件globle.d.ts
//解决全局sysConfig ts报错declare let sysConfig: any;
解决全局eslint报错
.eslintrc.js
module.exports = { ...globals:{sysConfig:'readonly'...
新建全局文件globle.d.ts
//解决全局sysConfig ts报错declare let sysConfig: any;
解决全局eslint报错
.eslintrc.js
module.exports = { ...globals:{sysConfig:'readonly'...