diff --git a/components/AQ/AQTabber.vue b/components/AQ/AQTabber.vue index b01d7f1..431a50c 100644 --- a/components/AQ/AQTabber.vue +++ b/components/AQ/AQTabber.vue @@ -30,6 +30,8 @@ uni.setStorageSync('userType','1') let userType = uni.getStorageSync('userType') + this.userType = userType + let tabBerIndex = uni.getStorageSync('tabBerIndex') if(tabBerIndex){ this.tabBerIndex = String(tabBerIndex) @@ -43,7 +45,7 @@ this.tabBar = [ { text: "首页", - urlPath:'/pages/student/index/index',//自定义页面跳转路径 + urlPath:'/pages/coach/home/index',//自定义页面跳转路径 iconPath: "/static/images/tabbar/home.png", selectedIconPath: "/static/images/tabbar/home_selected.png" },