LiuTeng 8 달 전
부모
커밋
09019c52c0
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/report/components/brushCard.vue

+ 2 - 1
src/views/report/components/brushCard.vue

@@ -187,7 +187,8 @@ export default {
           this.nextStep();
         } else {
           this.$tip("未读取到信息,正在重试...", "error");
-          setTimeout(() => {
+          clearTimeout(this.timer);
+          this.timer = setTimeout(() => {
             this.readHdReader();
           }, 30000);
         }