update src/components/Editor/index.vue.

Signed-off-by: GXRoger <875161928@qq.com>
This commit is contained in:
GXRoger 2023-07-25 07:50:18 +00:00 committed by Gitee
parent 0082354aba
commit 88d9aec68c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -50,7 +50,7 @@ const props = defineProps({
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const upload = reactive<UploadOption>({
headers: { Authorization: "Bearer " + getToken() },
headers: { Authorization: "Bearer " + getToken(), clientid: import.meta.env.VITE_APP_CLIENT_ID },
url: import.meta.env.VITE_APP_BASE_API + '/resource/oss/upload'
})
const myQuillEditor = ref();