李志伟 3 gadus atpakaļ
vecāks
revīzija
c643d986d2
1 mainītis faili ar 4 papildinājumiem un 9 dzēšanām
  1. 4
    9
      src/pages/org/org/Edit.jsx

+ 4
- 9
src/pages/org/org/Edit.jsx Parādīt failu

63
               name="orgName"
63
               name="orgName"
64
               rules={[{ required: true, message: '请填写企业名称!' }]}
64
               rules={[{ required: true, message: '请填写企业名称!' }]}
65
             >
65
             >
66
-              <Input readOnly={id} />
66
+              <Input />
67
             </Form.Item>
67
             </Form.Item>
68
-
69
             <Form.Item wrapperCol={{ offset: 8, span: 16 }}>
68
             <Form.Item wrapperCol={{ offset: 8, span: 16 }}>
70
-              {
71
-                id ?
72
-                  <Button onClick={()=>history.go(-1)}>返回</Button> :
73
-                  <Button type="primary" htmlType="submit" loading={loading}>
74
-                    保存
75
-                  </Button>
76
-              }
69
+              <Button type="primary" htmlType="submit" loading={loading}>
70
+                保存
71
+              </Button>
77
             </Form.Item>
72
             </Form.Item>
78
           </Form>
73
           </Form>
79
         </div>
74
         </div>