update src/components/ImageUpload/index.vue.

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

View File

@ -70,7 +70,7 @@ const dialogVisible = ref(false);
const baseUrl = import.meta.env.VITE_APP_BASE_API;
const uploadImgUrl = 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(