소스 검색

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]
   });