From 2453b0fc3ba567bd37233e813bc4555c29f8bff1 Mon Sep 17 00:00:00 2001 From: xinjie <> Date: Fri, 2 Dec 2022 14:40:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=AF=B7=E6=B1=82=E5=A4=B4=E5=8F=82=E6=95=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/components/upload/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/src/components/upload/index.vue b/admin/src/components/upload/index.vue index 97b78300..a2004226 100644 --- a/admin/src/components/upload/index.vue +++ b/admin/src/components/upload/index.vue @@ -81,7 +81,7 @@ export default defineComponent({ const uploadRefs = shallowRef>() const action = ref(`${config.baseUrl}${config.urlPrefix}/upload/${props.type}`) const headers = computed(() => ({ - token: userStore.token, + ['like-admin']: userStore.token, version: config.version })) const visible = ref(false)