|
@@ -6,6 +6,7 @@
|
|
|
:before-upload="handleBeforeUpload"
|
|
:before-upload="handleBeforeUpload"
|
|
|
:file-list="fileList"
|
|
:file-list="fileList"
|
|
|
:limit="limit"
|
|
:limit="limit"
|
|
|
|
|
+ :accept="accept"
|
|
|
:http-request="uploadFile"
|
|
:http-request="uploadFile"
|
|
|
:show-file-list="false"
|
|
:show-file-list="false"
|
|
|
:headers="headers"
|
|
:headers="headers"
|
|
@@ -81,6 +82,7 @@ export default {
|
|
|
Authorization: "Bearer " + getToken(),
|
|
Authorization: "Bearer " + getToken(),
|
|
|
},
|
|
},
|
|
|
fileList: [],
|
|
fileList: [],
|
|
|
|
|
+ accept: ".pdf,.jpg,.png,.bmp",
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|