Explorar o código

导入限制修改

duy hai 1 mes
pai
achega
c93ca7cd8e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/views/data-fill/division.vue

+ 4 - 0
src/views/data-fill/division.vue

@@ -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 ()=>{