doum
2 天以前 3d8dc67eb42a4e606907eae43824c37e1ab9810f
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