| 
					
				 | 
			
			
				@@ -413,7 +413,9 @@ const headerUpload = { token: store.getters.token }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 校验文件格式和大小 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const beforeUpload = (file) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const isCsv = file.type === "application/vnd.ms-excel" || file.type === "text/csv" || file.name.endsWith(".csv"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    updateFormInline({ ...initForm }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ruleFormRef.value.resetFields(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onCancel() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (!isCsv) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ElMessage.error("上传文件只能是 CSV 格式!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |