1. 修改默认页为空白
This commit is contained in:
parent
9d45a883fb
commit
06f1b10163
|
|
@ -9,7 +9,6 @@ const routes = [
|
||||||
path: '/home',
|
path: '/home',
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: HomeView,
|
component: HomeView,
|
||||||
redirect: '/stock',
|
|
||||||
children: [
|
children: [
|
||||||
{ path: '/stock', component: stock },// 库存
|
{ path: '/stock', component: stock },// 库存
|
||||||
{ path: '/goodsIn', component: () => import('@/layout/goodsIn.vue') },// 入库
|
{ path: '/goodsIn', component: () => import('@/layout/goodsIn.vue') },// 入库
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,7 @@ import { createStore } from 'vuex'
|
||||||
|
|
||||||
export default createStore({
|
export default createStore({
|
||||||
state: {
|
state: {
|
||||||
stateTagsList: [{
|
stateTagsList: [],
|
||||||
id: '21',
|
|
||||||
labelName: '库存',
|
|
||||||
path: '/stock'
|
|
||||||
}],
|
|
||||||
user: {},
|
user: {},
|
||||||
menuList: [],
|
menuList: [],
|
||||||
token: '',
|
token: '',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user