소스 검색

限制长度

natasha 3 년 전
부모
커밋
48452efeb2
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      src/components/Adult/preview/NewWordShow.vue

+ 1 - 4
src/components/Adult/preview/NewWordShow.vue

@@ -207,12 +207,9 @@ export default {
             }
           }
           item.imgarr = newimgarr;
-          if (index == this.curQue.option.length - 1) {
-            this.$forceUpdate();
-          }
+          this.$forceUpdate();
         });
       });
-      console.log(this.curQue.option);
     },
     changePraShow() {
       this.isPraShow = false;