fix:添加一个全局参数
This commit is contained in:
parent
642b94923f
commit
0a48dbecdd
|
@ -42,6 +42,7 @@ import * as scIcons from './assets/icons'
|
||||||
export default {
|
export default {
|
||||||
install(app) {
|
install(app) {
|
||||||
//挂载全局对象
|
//挂载全局对象
|
||||||
|
app.config.globalProperties.$INTERVAL = null;
|
||||||
app.config.globalProperties.$CONFIG = config;
|
app.config.globalProperties.$CONFIG = config;
|
||||||
app.config.globalProperties.$TOOL = tool;
|
app.config.globalProperties.$TOOL = tool;
|
||||||
app.config.globalProperties.$HTTP = http;
|
app.config.globalProperties.$HTTP = http;
|
||||||
|
|
Loading…
Reference in New Issue