Commit 8141d33d authored by 张冬's avatar 张冬

改变路由模式

parent aa676b66
......@@ -4,12 +4,11 @@ import Router from 'vue-router';
Vue.use(Router);
export default new Router({
mode: 'history',
routes: [
{
path: '/',
redirect: '/purchaser/Home'
},
// {
// path: '/',
// redirect: '/purchaser/Home'
// },
{
path: '/',
component: () => import(/* webpackChunkName: "home" */ '../components/common/Home.vue'),
......
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