2.2版本发布,详情查阅版本说明

This commit is contained in:
dqjdda
2019-09-27 09:44:04 +08:00
parent e5d334d69f
commit 61006f2e60
5 changed files with 10 additions and 10 deletions

View File

@@ -15,17 +15,17 @@ import store from './store'
import '@/icons' // icon
import './router/index' // permission control
import Router from 'vue-router'
// import Router from 'vue-router'
Vue.use(mavonEditor)
Vue.use(permission)
Vue.use(ElementUI, { locale })
Vue.config.productionTip = false
const routerPush = Router.prototype.push
Router.prototype.push = function push(location) {
return routerPush.call(this, location).catch(error => error)
}
// const routerPush = Router.prototype.push
// Router.prototype.push = function push(location) {
// return routerPush.call(this, location).catch(error => error)
// }
require('babel-polyfill')
new Vue({