WANG 6 years ago
parent
commit
20b2e2697b
1 changed files with 1 additions and 6 deletions
  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 = {