819527061@qq.com
2024-05-14 cfce577132832b5291c5bd3b171d7f4397d44643
src/views/my-components/xboot/editor.vue
@@ -228,7 +228,7 @@
          this.editor.config.uploadImgServer = uploadFile;
          // xboot如要header中传入token鉴权
          this.editor.config.uploadImgHeaders = {
            accessToken: that.getStore("accessToken"),
            accessToken: that.getSessionStore("accessToken"),
          };
          this.editor.config.uploadFileName = "file";
          this.editor.config.uploadImgHooks = {
@@ -267,7 +267,7 @@
      if (this.uploadVideo) {
        this.editor.config.uploadVideoServer = uploadFile;
        this.editor.config.uploadVideoHeaders = {
          accessToken: that.getStore("accessToken"),
          accessToken: that.getSessionStore("accessToken"),
        };
        this.editor.config.uploadVideoName = "file";
        this.editor.config.uploadVideoHooks = {