修复因更改Upload默认listType导致的ImportFile中listType不对问题
							parent
							
								
									6f426bc895
								
							
						
					
					
						commit
						2680d1ffc1
					
				|  | @ -11,9 +11,9 @@ export interface CustomRenderProps { | |||
|   /** 表单当前值 */ | ||||
|   formValues: FormValues; | ||||
|   /** 字段值 */ | ||||
|   value: any; | ||||
|   value?: any; | ||||
|   /** 值变化回调 */ | ||||
|   onChange: (value: any) => void; | ||||
|   onChange?: (value: any) => void; | ||||
|   /** 其他属性 */ | ||||
|   [key: string]: any; | ||||
| } | ||||
|  |  | |||
|  | @ -75,7 +75,7 @@ const ImportFile = (props) => { | |||
|       > | ||||
|         {children && typeof children === "function" ? children({ form }) : children} | ||||
|         <Form.Item label="附件" name="file" rules={[{ required: true, message: "附件不能为空" }]}> | ||||
|           <Upload accept=".xls,.xlsx" /> | ||||
|           <Upload accept=".xls,.xlsx" listType="text" /> | ||||
|         </Form.Item> | ||||
|       </Form> | ||||
|     </Modal> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue