From aed8c89dedf94b98c4b6e988388fbe147f99dab5 Mon Sep 17 00:00:00 2001 From: David Wei Date: 星期日, 08 十月 2023 16:05:58 +0800 Subject: [PATCH] update 优化 通过参数键名获取键值接口的返回体 --- src/components/Editor/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index 9c61f3b..6aef16b 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -50,7 +50,7 @@ const { proxy } = getCurrentInstance() as ComponentInternalInstance; const upload = reactive<UploadOption>({ - headers: globalHeaders, + headers: globalHeaders(), url: import.meta.env.VITE_APP_BASE_API + '/resource/oss/upload' }) const myQuillEditor = ref(); -- Gitblit v1.9.3