From cb5c9968b763362d399e1c7fce1129ec7434aba8 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期三, 26 四月 2023 14:07:31 +0800 Subject: [PATCH] session保存token --- src/views/my-components/xboot/editor.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/my-components/xboot/editor.vue b/src/views/my-components/xboot/editor.vue index 14aaf0f..6e2ba92 100644 --- a/src/views/my-components/xboot/editor.vue +++ b/src/views/my-components/xboot/editor.vue @@ -228,7 +228,7 @@ this.editor.config.uploadImgServer = uploadFile; // xboot濡傝header涓紶鍏oken閴存潈 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 = { -- Gitblit v1.9.1