kongdeqiang
2023-04-26 cb5c9968b763362d399e1c7fce1129ec7434aba8
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 = {