li.shaoyi 3 달 전
부모
커밋
9a24726bd0
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/packages/mobile/App.vue
  2. 1 0
      src/packages/tss/views/boot/Index.vue

+ 2 - 1
src/packages/mobile/App.vue

@@ -146,8 +146,9 @@ watch(() => [noticeStore.isInitialized, route.name], ([isInitialized, routeName]
       message.index = 0
       message.show = true
       noticeStore.updateNoticeReaded(message.dataList[0].autoid)
-      noticeStore.setUninitialized()
     }
+
+    noticeStore.setUninitialized()
   }
 })
 

+ 1 - 0
src/packages/tss/views/boot/Index.vue

@@ -55,6 +55,7 @@ const shouldShowSplash = () => {
 
       if ((currentTimestamp - storageTimestamp) > intervalMillisecond) {
         state.showSplash = true
+        localStorage.setItem('splash_timestamp', currentTimestamp.toString())
       }
     }
   }