lisenzhou před 2 roky
rodič
revize
4f2cd79e44
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2
    1
      src/pages/guarantee/edit/index.jsx

+ 2
- 1
src/pages/guarantee/edit/index.jsx Zobrazit soubor

@@ -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