|
@@ -187,12 +187,10 @@ const uploadSuccess = (response: any | undefined, uploadFile: UploadFile) => {
|
|
|
// 上传结束处理
|
|
|
const uploadedSuccessfully = () => {
|
|
|
if (number.value > 0 && uploadList.value.length === number.value) {
|
|
|
- console.log(_fileList.value)
|
|
|
_fileList.value = _fileList.value.filter(f => f.url !== undefined).concat(uploadList.value)
|
|
|
- console.log(_fileList.value)
|
|
|
uploadList.value = []
|
|
|
number.value = 0
|
|
|
- emit('update:modelValue', _fileList.value.length > 0 ? _fileList.value[0].url : '')
|
|
|
+ emit('update:modelValue', listToString(_fileList.value))
|
|
|
tryHideFullScreenLoading()
|
|
|
}
|
|
|
// 监听表单验证
|