li.shaoyi 3 tháng trước cách đây
mục cha
commit
9a24726bd0
2 tập tin đã thay đổi với 3 bổ sung1 xóa
  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())
       }
     }
   }