Selaa lähdekoodia

多次注册点击事件bug待解决

luolei 5 vuotta sitten
vanhempi
commit
4d50178c47
1 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 6 6
      src/components/Symptom.vue

+ 6 - 6
src/components/Symptom.vue

@@ -176,7 +176,7 @@ export default {
             this.$store.commit('setOrigin', { type: moduleCP['symp'], data: result.data });
             if (mapping && mapping.length > 0) {
               this.show = true;
-              this.scroll = setScroll(BScroll,false,'.symper')
+              // this.scroll = setScroll(BScroll,false,'.symper')
               if(flg){
                 return
               }
@@ -226,7 +226,7 @@ export default {
       this.getPush(sympText);
       this.show = false;
       this.questId = null;
-      this.scroll = setScroll(BScroll,true,'.symper')
+      // this.scroll = setScroll(BScroll,true,'.symper')
     },
     deletSymp(item, index) {
       this.delIndex = index;
@@ -235,7 +235,7 @@ export default {
         this.delText = "是否删除该信息?<br/>删除后将重新填写预问诊流程 <br/>(已填内容将清除)"
       }
       this.showToast = true;
-      this.scroll = setScroll(BScroll,false,'.symper')
+      // this.scroll = setScroll(BScroll,false,'.symper')
     },
     comfirnDel() {
       this.chooseSymp.splice(this.delIndex, 1);
@@ -260,13 +260,13 @@ export default {
       this.delIndex = null;
       this.questId = null;
       this.delText = "是否删除该信息?<br/>(已填内容将清除)";
-      this.scroll = setScroll(BScroll,true,'.symper')
+      // this.scroll = setScroll(BScroll,true,'.symper')
     },
     complete() {//明细填写完成
       this.searchShow = false;
       this.checkText = this.$store.state.symptom.text;
       this.show = false;
-      this.scroll = setScroll(BScroll,true,'.symper')
+      // this.scroll = setScroll(BScroll,true,'.symper')
       this.questId = null;
       // 推理 
       const sympText = this.getSympText();
@@ -279,7 +279,7 @@ export default {
       if (data.questionMapping && data.questionMapping.length > 0) {
         this.labelDetail = data;
         this.show = true;
-        this.scroll = setScroll(BScroll,true,'.symper')        
+        // this.scroll = setScroll(BScroll,true,'.symper')        
       }
     },
     reload(id) {//清空重新赋值