|
@@ -2907,6 +2907,10 @@ const handleError = (error) => {
|
|
|
|
|
|
}
|
|
|
const confirmTap = async ()=>{
|
|
|
+ if (!fileList.value.length) {
|
|
|
+ window.$message.warning('请先选择文件')
|
|
|
+ return
|
|
|
+ }
|
|
|
confirmLoading.value = true
|
|
|
dialogUploadRef.value.submit()
|
|
|
setTimeout(async ()=>{
|