LiuTeng 8 meses atrás
pai
commit
09019c52c0
1 arquivos alterados com 2 adições e 1 exclusões
  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);
         }