tuonina 5 gadi atpakaļ
vecāks
revīzija
f13d4205a3

+ 5 - 4
src/data/application.json

@@ -4,13 +4,14 @@
   },
   {
     "id": 2,"name": "Sys","value": "sys"
-  }
-,
+  },
   {
     "id": 3,"name": "Gateway","value": "gateway"
-  }
-,
+  },
   {
     "id": 4,"name": "Config","value": "config"
+  },
+  {
+    "id": 1005,"name": "Framework","value": "tuonq"
   }
 ]

+ 5 - 5
src/pages/config/widget/AddConfigForm.jsx

@@ -134,15 +134,15 @@ class AddConfigForm extends React.Component {
             <Form>
                 <Form.Item>
                     {getFieldDecorator('application', { initialValue: config.application })(
-                        <TuonSelect  placeholder="请选择应用系统" data={cApps}/>)}
+                        <TuonSelect placeholder="请选择应用系统" data={cApps}/>)}
                 </Form.Item>
                 <Form.Item>
-                    {getFieldDecorator('application', { initialValue: config.profile })(
-                        <TuonSelect  placeholder="请选择环境" data={cProfiles}/>)}
+                    {getFieldDecorator('profile', { initialValue: config.profile })(
+                        <TuonSelect placeholder="请选择环境" data={cProfiles}/>)}
                 </Form.Item>
                 <Form.Item>
-                    {getFieldDecorator('application', { initialValue: config.label })(
-                        <TuonSelect  placeholder="请选择分支" data={cLabels}/>)}
+                    {getFieldDecorator('label', { initialValue: config.label })(
+                        <TuonSelect placeholder="请选择分支" data={cLabels}/>)}
                 </Form.Item>
                 <Form.Item>
                     {getFieldDecorator('key',