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