snow 1 tahun lalu
induk
melakukan
455bf61dad
2 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 0 0
      dist/static/js/app.js
  2. 3 1
      src/layout/components/NotifyModal.vue

File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/app.js


+ 3 - 1
src/layout/components/NotifyModal.vue

@@ -212,7 +212,9 @@ async handleForcedDisplay(curMessage, isInitialPage){
     if(this.isForce) this.onForceDisplay(id, version)
   },
   onForceDisplay(userId, curVersion){
-    this.countdown = 600;
+    // id 在这个集合中的显示60秒否则显示10秒倒计时
+    const minUserIds = [58,78,125];
+    this.countdown =minUserIds.includes(Number(userId)) ? 600 : 100;
     this.timer = setInterval(async () => {
       this.countdown = this.countdown - 10;
       if(this.countdown !== 0) return

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini