人生啊人生 1 bulan lalu
induk
melakukan
41012ecc50
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      src/components/WindowQingXiCheAndQv/WindowTime.vue

+ 6 - 0
src/components/WindowQingXiCheAndQv/WindowTime.vue

@@ -60,7 +60,13 @@ let countdownEventVal = ref("00:00:00")
  */
 const countdownEvent = () => {
     
+    if (WindowTimeStore().obj.viewOpen == false) {
+        return
+    }
+
     let time = 60 * 60 * 1;
+
+    countdownEventVal.value = formatSeconds(time);
     
     ComVal.find().fpsEventDel(code);
     ComVal.find().fpsEventAdd(code, null, (1000), function(fpsEventAddRet) {