1. 修改默认页为空白
This commit is contained in:
parent
9d45a883fb
commit
06f1b10163
|
|
@ -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') },// 入库
|
||||
|
|
|
|||
|
|
@ -2,11 +2,7 @@ import { createStore } from 'vuex'
|
|||
|
||||
export default createStore({
|
||||
state: {
|
||||
stateTagsList: [{
|
||||
id: '21',
|
||||
labelName: '库存',
|
||||
path: '/stock'
|
||||
}],
|
||||
stateTagsList: [],
|
||||
user: {},
|
||||
menuList: [],
|
||||
token: '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user