yangan
2024-06-20 2490d3321f6d6f9b5bacf29225387f7c3f89a2b4
store/index.js
@@ -70,8 +70,34 @@
         iconPath: '../../static/tabBar-icon/home.png',
         selectedIconPath: '../../static/tabBar-icon/homeblue.png',
         text: '出场'
      }
      },
      {
         pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar',
         iconPath: '../../static/tabBar-icon/Gmine10.png',
         selectedIconPath: '../../static/tabBar-icon/Bmine57.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 +209,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