diff --git a/src/router/index.js b/src/router/index.js index 2af86cc..aa003a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -9,7 +9,6 @@ const routes = [ path: '/home', name: 'home', component: HomeView, - redirect: '/stock', children: [ { path: '/stock', component: stock },// 库存 { path: '/goodsIn', component: () => import('@/layout/goodsIn.vue') },// 入库 diff --git a/src/store/index.js b/src/store/index.js index 1f390f3..b3ea900 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2,11 +2,7 @@ import { createStore } from 'vuex' export default createStore({ state: { - stateTagsList: [{ - id: '21', - labelName: '库存', - path: '/stock' - }], + stateTagsList: [], user: {}, menuList: [], token: '',