This commit is contained in:
gyj
2023-11-30 18:40:39 +08:00
11 changed files with 114 additions and 167 deletions
@@ -44,7 +44,7 @@
:limit="1"
accept=".zip"
:headers="upload.headers"
:action="upload.url + '?updateSupport=' + upload.updateSupport"
:action="upload.url"
:disabled="upload.isUploading"
:on-progress="handleFileUploadProgress"
:on-success="handleFileSuccess"
@@ -93,7 +93,7 @@ export default {
// 是否禁用上传
isUploading: false,
// 是否更新已经存在的用户数据
updateSupport: 0,
// updateSupport: 0,
// 设置上传的请求头部
headers: { Authorization: "Bearer " + getToken() },
// 上传的地址