Commit f31cd69d authored by 高滢's avatar 高滢

feat(上传文件组件): 修改

parent a1b6b4a0
......@@ -6,7 +6,6 @@
:action="uploadFileUrl"
v-if="!disabled"
:before-upload="handleBeforeUpload"
:on-change="handleFileChange"
:file-list="fileList"
:limit="limit"
:on-error="handleUploadError"
......@@ -136,9 +135,7 @@ watch(
},
{ deep: true, immediate: true },
)
// function handleFileChange(file){
//
// }
// 上传前校检格式和大小
function handleBeforeUpload(file) {
// 校检文件类型
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment