lisenzhou 2 년 전
부모
커밋
4f2cd79e44
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/pages/guarantee/edit/index.jsx

+ 2
- 1
src/pages/guarantee/edit/index.jsx 파일 보기

@@ -84,11 +84,12 @@ export default (props) => {
84 84
             },
85 85
           }}
86 86
         >
87
-          <ProFormText name="name" label="机构名称" width={460} />
87
+          <ProFormText name="name" label="机构名称" width={460}   rules={[{ required: true, message: '请输入机构名称' }]}/>
88 88
           <ProFormText
89 89
             name="businessLicense"
90 90
             label="工商注册证号"
91 91
             width={460}
92
+           
92 93
           />
93 94
           <ProFormText name="hygieneLicense" label="卫生许可证号" width={460} />
94 95