WANG 6 년 전
부모
커밋
20b2e2697b
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      src/components/ckeditor.vue

+ 1 - 6
src/components/ckeditor.vue

@@ -59,12 +59,7 @@ export default {
     }
   },
   mounted() {
-    if (this.width) {
-      this.divStyle = "width:" + this.width + ";";
-    } else {
-      this.divStyle = "width:500px";
-    }
-
+    this.divStyle = "width:" + this.width + ";";
     this.divStyle = this.divStyle + "margin-top:-15px;";
 
     let config = {