shuishen
2025-12-20 c7006707bafc2c3185f4fe1b9fea85597df0b084
src/pages/user/index.vue
@@ -95,13 +95,16 @@
onShow(() => {
  getUserInfoData();
  uni.setStorageSync("lastTab", "user");
  // #ifndef MP-WEIXIN
  uni.setTabBarItem({
    index: 2,
    text: "",
    iconPath: "static/images/tabbar/drone.png",
    selectedIconPath: "static/images/tabbar/drone.png",
    index: 2, // Tab 的索引(从0开始)
    visible: false,
  });
  uni.setTabBarItem({
    index: 3, // Tab
    visible: true,
  });
  // #endif
});
</script>
<style scoped lang="scss">