JeecgBoot 2.1.1 版本发布

This commit is contained in:
zhangdaihao
2019-10-19 15:44:19 +08:00
parent fd57f233e5
commit 9c6f68fd4a
10 changed files with 36 additions and 18 deletions

View File

@ -2,6 +2,11 @@ import Vue from 'vue'
import Router from 'vue-router'
import { constantRouterMap } from '@/config/router.config'
const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}
Vue.use(Router)
export default new Router({