819527061@qq.com
2024-06-28 20ae88664bdbb4ae21ec3b13338d906ff1b7431a
components/tab-bar/tab-bar.vue
@@ -35,11 +35,13 @@
      },
      computed: {
         tabBarList() {
        console.log(this.$store.state.userTabbar,'this.$store.state.userTabbar====')
            return this.$store.state.userTabbar;
         }
      },
      methods: {
         tabbarchange(e) {
        console.log(this.tabBarList[e].pagePath,'this.tabBarList[e].pagePath===')
            uni.switchTab({
               url: '/' + this.tabBarList[e].pagePath
            });
@@ -65,4 +67,4 @@
      width: vww(20) !important;
      height: vww(20) !important;
   }
</style>
</style>