Commit 65793983 authored by 黄奎's avatar 黄奎

页面修改

parent b4b39325
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
/**
* 重写路由的push方法
*/
......@@ -8,8 +9,6 @@ const routerPush = Router.prototype.push
Router.prototype.push = function push(location) {
return routerPush.call(this, location).catch(error=> error)
}
Vue.use(Router)
export default new Router({
routes: [{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment