基于cookie模式下,剔除所有的上传文件的x-token头

This commit is contained in:
piexlMax
2024-01-05 23:13:04 +08:00
parent 1a04bb535d
commit 26fa047fe4
6 changed files with 8 additions and 15 deletions

View File

@@ -3,7 +3,6 @@
<div>
<el-upload
:action="`${path}/fileUploadAndDownload/upload`"
:headers="{ 'x-token': userStore.token }"
:show-file-list="false"
:on-success="handleImageSuccess"
:before-upload="beforeImageUpload"