update src/components/FileUpload/index.vue.

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

View File

@ -66,7 +66,7 @@ const uploadList = ref<any[]>([]);
const baseUrl = import.meta.env.VITE_APP_BASE_API;
const uploadFileUrl = ref(baseUrl + "/resource/oss/upload"); //
const headers = ref({ Authorization: "Bearer " + getToken() });
const headers = ref({ Authorization: "Bearer " + getToken(), clientid: import.meta.env.VITE_APP_CLIENT_ID });
const fileList = ref<any[]>([]);
const showTip = computed(