From 76d2de5bc3e7ee00ba5fd71959cd8389b7c75fce Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 11 六月 2024 15:09:44 +0800 Subject: [PATCH] 库管确认装卸按钮提交字段判断 --- store/index.js | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/store/index.js b/store/index.js index 6343509..4bfb436 100644 --- a/store/index.js +++ b/store/index.js @@ -70,8 +70,28 @@ iconPath: '../../static/tabBar-icon/home.png', selectedIconPath: '../../static/tabBar-icon/homeblue.png', text: '鍑哄満' - } + }, + ], + five:[{ + pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar', + iconPath: '../../static/tabBar-icon/home.png', + selectedIconPath: '../../static/tabBar-icon/homeblue.png', + text: '棣栭〉' + }, + { + pagePath: 'pages/loadUnload-page/orderPlanList/index', + iconPath: '../../static/tabBar-icon/Gmine10.png', + selectedIconPath: '../../static/tabBar-icon/Bmine57.png', + text: '鏃ヨ鍒�' + }, + { + pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar', + iconPath: '../../static/tabBar-icon/Gmine10.png', + selectedIconPath: '../../static/tabBar-icon/Bmine57.png', + text: '鎴戠殑' + }, +] } const store = new Vuex.Store({ state: { @@ -183,7 +203,7 @@ state.userTabbar = userRoleTabbar.second uni.setStorageSync('userTabbar', state.userTabbar) } else if (roleType == 5) { - state.userTabbar = userRoleTabbar.three + state.userTabbar = userRoleTabbar.five uni.setStorageSync('userTabbar', state.userTabbar) }else if (roleType == 6) { state.userTabbar = userRoleTabbar.fourth -- Gitblit v1.9.1