|  | @@ -111,13 +111,7 @@ const ModalForm: React.FC<iModalFormProps> = ({
 | 
	
		
			
				|  |  |        <Form form={form} layout="vertical">
 | 
	
		
			
				|  |  |          <Form.Item name={type === 'tender' ? 'folderId' : 'id'} hidden ><Input /></Form.Item>
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | -          showNameInput ? <Form.Item name="name" label={modalObj[type].nameTitle} rules={[ { required: true, message: '请输入文件夹名称!' }, {
 | 
	
		
			
				|  |  | -            validator: async (_, names) => {
 | 
	
		
			
				|  |  | -              if (names && names.length > 30) {
 | 
	
		
			
				|  |  | -                return Promise.reject(new Error('名称超过30个字,请缩减名称。'))
 | 
	
		
			
				|  |  | -              }
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -          } ]}>
 | 
	
		
			
				|  |  | +          showNameInput ? <Form.Item name="name" label={modalObj[type].nameTitle} rules={[ { required: true, message: '请输入文件夹名称!' } ]}>
 | 
	
		
			
				|  |  |              <Input allowClear size="small" autoComplete="off" />
 | 
	
		
			
				|  |  |            </Form.Item> : null
 | 
	
		
			
				|  |  |          }
 |