From cfce577132832b5291c5bd3b171d7f4397d44643 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期二, 14 五月 2024 17:06:53 +0800
Subject: [PATCH] docs:参数加密

---
 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