diff --git a/common/js/updateTabBar.js b/common/js/updateTabBar.js index a78ed51..2cb17fe 100644 --- a/common/js/updateTabBar.js +++ b/common/js/updateTabBar.js @@ -18,10 +18,6 @@ export default { }) }, changeAgent(){ - uni.setTabBarItem({ - index:1, - visible: true - }) uni.setTabBarItem({ index:0, visible: false @@ -34,6 +30,10 @@ export default { index:3, visible: false }) + uni.setTabBarItem({ + index:1, + visible: true + }) }, changebackground(){ uni.setTabBarItem({ diff --git a/pages/home/home.vue b/pages/home/home.vue index 838ee76..9f8cd99 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -103,7 +103,7 @@