From bea71ccbb131fb92d9fee05b28dda05e53b569c3 Mon Sep 17 00:00:00 2001 From: wxyclub Date: Thu, 23 Nov 2023 22:24:26 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E6=94=BF=E7=AD=96=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E8=B5=84=E6=96=99=E5=AF=BC=E5=85=A5=E6=B7=BB=E5=8A=A0token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/hzwlComponents/importZip.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/hzwlComponents/importZip.vue b/src/components/hzwlComponents/importZip.vue index fed1f37e9..9cddd23f4 100644 --- a/src/components/hzwlComponents/importZip.vue +++ b/src/components/hzwlComponents/importZip.vue @@ -7,6 +7,7 @@ drag :action="action" ref="importfile" + :headers="headers" name="file" accept=".ZIP, .zip" :before-upload="beginImportFile" @@ -41,6 +42,9 @@ export default { name: "importZip", data () { return { + headers:{ + token: JSON.parse(localStorage.getItem('userInfo')).token + }, importFailed: false, importForm: {} }