Преглед на файлове

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

skyline преди 20 часа
родител
ревизия
7bea6a25b2
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  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]
   });