1. 修改默认页为空白

This commit is contained in:
梁州 2026-01-20 20:22:11 +08:00
parent 9d45a883fb
commit 06f1b10163
2 changed files with 1 additions and 6 deletions

View File

@ -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') },// 入库

View File

@ -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: '',