소스 검색

重置标记

luolei 5 년 전
부모
커밋
473f94147b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/components/Symptom.vue

+ 2 - 0
src/components/Symptom.vue

@@ -215,6 +215,7 @@ export default {
       clearTimeout(this.timer);
       this.end = this.$store.state.scroll
       if(JSON.stringify(this.start) != JSON.stringify(this.end)){
+        this.startNum = 0
         return
       }
       let endTime = +new Date();
@@ -246,6 +247,7 @@ export default {
             that.message.title = "";
             that.message.text = "暂无资料";
           }
+          this.startNum = 0
         },600)
     },
     closeTip(){