src/main.js
@@ -5,9 +5,11 @@
import router from './router/router';
import './permission'; // 权限
import './error'; // 日志
import './cache';//页面缓存
import './cache'; //页面缓存
import store from './store';
import { loadStyle } from './util/util'
import {
  loadStyle
} from './util/util'
import * as urls from '@/config/env';
import Element from 'element-ui';
import {
@@ -55,10 +57,14 @@
});
Vue.config.productionTip = false;
// Window.onresize 事件  动态调整窗口
import "@/store/onresize";
new Vue({
let myVue = new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app');
export default myVue