From 1d8664ab1d982e9cc25b8f5e85daaae61e1bbff4 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 28 八月 2023 17:21:01 +0800 Subject: [PATCH] fix 修复 租户与套餐管理 搜索框长度变化问题 --- src/components/Editor/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index b5b1526..6aef16b 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -29,8 +29,8 @@ <script setup lang="ts"> import { QuillEditor, Quill } from '@vueup/vue-quill'; import '@vueup/vue-quill/dist/vue-quill.snow.css'; -import { getToken } from "@/utils/auth"; import { propTypes } from '@/utils/propTypes'; +import { globalHeaders } from "@/utils/request"; const props = defineProps({ /* 缂栬緫鍣ㄧ殑鍐呭 */ @@ -50,7 +50,7 @@ const { proxy } = getCurrentInstance() as ComponentInternalInstance; const upload = reactive<UploadOption>({ - headers: { Authorization: "Bearer " + getToken() }, + headers: globalHeaders(), url: import.meta.env.VITE_APP_BASE_API + '/resource/oss/upload' }) const myQuillEditor = ref(); -- Gitblit v1.9.3