lsc 2 年之前
父节点
当前提交
06d62cc764
共有 3 个文件被更改,包括 494 次插入221 次删除
  1. 100 113
      package-lock.json
  2. 389 108
      src/components/pages/addCourse.vue
  3. 5 0
      src/components/tools/wangEnduit.vue

文件差异内容过多而无法显示
+ 100 - 113
package-lock.json


文件差异内容过多而无法显示
+ 389 - 108
src/components/pages/addCourse.vue


+ 5 - 0
src/components/tools/wangEnduit.vue

@@ -34,6 +34,10 @@ export default {
       type: Boolean,
       default: false,
     },
+    placeholder:{
+      type:String,
+      default:"请输入正文"
+    }
   },
   watch: {
     isClear(val) {
@@ -91,6 +95,7 @@ export default {
       //忽略粘贴内容中的图片
       this.editor.config.pasteIgnoreImg = false;
       this.editor.config.showLinkImg = false;
+      this.editor.config.placeholder = this.placeholder;
       var that = this;
       this.editor.config.customUploadImg = function (files, insert) {
         const loading = Loading.service({

部分文件因为文件数量过多而无法显示