王家程 11 mesi fa
parent
commit
6e11aceb3e
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      src/views/total-sum/index.vue

+ 3 - 3
src/views/total-sum/index.vue

@@ -2,7 +2,7 @@
  * @Author: wangjiacheng
  * @Date: 2021-10-14 11:57:19
  * @LastEditors: wjc
- * @LastEditTime: 2024-05-30 11:10:37
+ * @LastEditTime: 2024-05-30 11:51:23
  * @Description:
 -->
 <template>
@@ -54,7 +54,7 @@ export default {
       showFire: false,
       isBillion: false,
       // targetDate: '2024-05-31 17:10:00'
-      targetDate: '2024-05-30 11:30:00'
+      targetDate: '2024-05-30 11:55:00'
     }
   },
   computed: {
@@ -92,7 +92,7 @@ export default {
         const add = Math.floor(Math.random() * 3000)
         this.moneny = this.moneny + add
         if (date.isSameOrAfter(dayjs(this.targetDate)) && this.moneny <= this.targetMoney) {
-          this.moneny = this.targetMoney
+          this.moneny = this.targetMoney + add
         }
       }, 10000)
     }