LiuTeng 10 months ago
parent
commit
09019c52c0
1 changed files with 2 additions and 1 deletions
  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();
           this.nextStep();
         } else {
         } else {
           this.$tip("未读取到信息,正在重试...", "error");
           this.$tip("未读取到信息,正在重试...", "error");
-          setTimeout(() => {
+          clearTimeout(this.timer);
+          this.timer = setTimeout(() => {
             this.readHdReader();
             this.readHdReader();
           }, 30000);
           }, 30000);
         }
         }