2022-08-02 10:16:07 +08:00
|
|
|
import Vue from 'vue'
|
|
|
|
|
import App from './App.vue'
|
|
|
|
|
import router from './router'
|
|
|
|
|
import store from './store'
|
|
|
|
|
import ElementUI from 'element-ui'
|
|
|
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
|
|
|
|
import '@/css/style.css'
|
|
|
|
|
import './router/index2'
|
2022-08-03 21:26:42 +08:00
|
|
|
import axios from 'axios'
|
2022-08-02 10:16:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// import Router from 'vue-router'
|
|
|
|
|
// const routerPush = Router.prototype.push
|
|
|
|
|
// Router.prototype.push = function push(location) {
|
|
|
|
|
// return routerPush.call(this, location).catch(error=> error)
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
2022-08-03 21:26:42 +08:00
|
|
|
Vue.use(ElementUI)
|
2022-08-02 10:16:07 +08:00
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
|
|
|
|
new Vue({
|
|
|
|
|
router,
|
|
|
|
|
store,
|
|
|
|
|
render: h => h(App)
|
|
|
|
|
}).$mount('#app')
|