模拟大屏环境

This commit is contained in:
aixianling
2024-06-21 10:35:41 +08:00
parent 379c388cf6
commit a496620c83

View File

@@ -6,11 +6,14 @@ import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
Vue.use(ElementUI);
window.axios = axios
Vue.use(ElementUI);
window.$glob = {}
new Vue({
router,
render: (h) => h(App)
}).$mount('#app')
import('./utils/fetch.js').then(() => {
new Vue({
router,
render: (h) => h(App)
}).$mount('#app')
})