Browse Source

refactor: 移除冗余的 __tab_index__ 存储逻辑

skyline 15 giờ trước cách đây
mục cha
commit
7bea6a25b2
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      haha-admin-mp/src/components/CustomTabBar.vue

+ 0 - 1
haha-admin-mp/src/components/CustomTabBar.vue

@@ -74,7 +74,6 @@ const switchTab = (index: number) => {
   if (currentIndex.value === index) return;
 
   currentIndex.value = index;
-  uni.setStorageSync('__tab_index__', index);
   uni.switchTab({
     url: tabPages[index]
   });