Browse Source

导入限制修改

duy 1 tháng trước cách đây
mục cha
commit
c93ca7cd8e
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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 ()=>{