MrShi
2026-03-06 cdca21c0c12fa79ad4e85321d0f0960c0c4c3f33
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