admin/src/components/common/RichEditor.vue
@@ -246,7 +246,8 @@ // message: `${res.data.originalName} 上传失败,请重新尝试` // }); } insertFn(res.data.url, res.data.url); insertFn(res.data.url,''); }, // 上传进度的回调函数 onProgress(progress) { @@ -280,7 +281,10 @@ }, watch: { richData: function (value) { this.html = value console.error(value) this.$nextTick(() => { this.html = value }) }, readonly: function (value) { this.readonly = value