Browse Source

不需要按钮的不要倒计时

林旭祥 3 tháng trước cách đây
mục cha
commit
3d87fff9fc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/train/multiple.vue

+ 1 - 1
src/views/train/multiple.vue

@@ -745,7 +745,7 @@ const initHand = () => {
  * 播报时间
 */
 watch(() => time.value.countdownNum, (newData) => {
-  if (examState.value != 42) {
+  if (examState.value != 42 || !needStart.value) {
     return false;
   }
   if (newData >= 30 && newData < time.value.testTime) {