From 29014207a8882df16d4372ef20e0d79e6e5df6d1 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 30 五月 2024 08:44:28 +0800 Subject: [PATCH] Merge branch 'jlhg' of http://39.96.92.240:10000/r/~fyy/unattended-app into jlhg --- store/index.js | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/store/index.js b/store/index.js index ac8863b..6343509 100644 --- a/store/index.js +++ b/store/index.js @@ -59,7 +59,19 @@ selectedIconPath: '../../static/tabBar-icon/Bmine57.png', text: '鎴戠殑' } - ] + ], + fourth: [{ + pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar', + iconPath: '../../static/tabBar-icon/home.png', + selectedIconPath: '../../static/tabBar-icon/homeblue.png', + text: '杩涘満' + },{ + pagePath: 'pages/doorkeeper-page/doorkeeper-index/exit-index', + iconPath: '../../static/tabBar-icon/home.png', + selectedIconPath: '../../static/tabBar-icon/homeblue.png', + text: '鍑哄満' + } + ], } const store = new Vuex.Store({ state: { @@ -173,6 +185,9 @@ } else if (roleType == 5) { state.userTabbar = userRoleTabbar.three uni.setStorageSync('userTabbar', state.userTabbar) + }else if (roleType == 6) { + state.userTabbar = userRoleTabbar.fourth + uni.setStorageSync('userTabbar', state.userTabbar) } }, // 鏀瑰彉閲嶉噺 -- Gitblit v1.9.1