diff --git a/src/components/AddOrEditGroup/index.js b/src/components/AddOrEditGroup/index.js
index 536c47d57..e0c86d906 100644
--- a/src/components/AddOrEditGroup/index.js
+++ b/src/components/AddOrEditGroup/index.js
@@ -264,32 +264,6 @@ export default class EditGroupName extends PureComponent {
]
})()}
- {/* 应用Logo */}
-
-
- {fileList.length > 0 ? null : uploadButton}
-
-
-
-
-
diff --git a/src/components/CreateTeam/index.js b/src/components/CreateTeam/index.js
index 67787e24e..9644581af 100644
--- a/src/components/CreateTeam/index.js
+++ b/src/components/CreateTeam/index.js
@@ -198,9 +198,6 @@ class CreateTeam extends PureComponent {
}
]
})()}
- {/*
-
-
*/}
{/* 团队的命名空间 */}
}
diff --git a/src/components/CreateTeam/index.less b/src/components/CreateTeam/index.less
index 128fc5e34..55ed324e0 100644
--- a/src/components/CreateTeam/index.less
+++ b/src/components/CreateTeam/index.less
@@ -59,7 +59,7 @@
}
.conformDesc {
- font-size: 10px;
+ font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(153, 153, 153, 1);
diff --git a/src/components/HttpTable/index.js b/src/components/HttpTable/index.js
index 10955495d..c9240c4c0 100644
--- a/src/components/HttpTable/index.js
+++ b/src/components/HttpTable/index.js
@@ -160,9 +160,12 @@ export default class HttpTable extends PureComponent {
handleClose = () => {
this.setState({ drawerVisible: false, editInfo: '' });
};
- handleOk = (values, group_name, routingConfiguration, obj) => {
+ handleOk = (values, group_name, obj) => {
const { dispatch, groups } = this.props;
const { editInfo, gateWayInfo } = this.state;
+ if (obj && obj.whether_open) {
+ values.whether_open = true;
+ }
// 新增网关策略
if (!editInfo) {
dispatch({
@@ -170,7 +173,7 @@ export default class HttpTable extends PureComponent {
payload: {
values,
group_name,
- team_name: globalUtil.getCurrTeamName()
+ team_name: globalUtil.getCurrTeamName(),
},
callback: data => {
if (data && data.bean.is_outer_service === false) {
@@ -213,9 +216,6 @@ export default class HttpTable extends PureComponent {
values.the_weight = data.bean.the_weight || '';
values.certificate_id = data.bean.certificate_id || '';
}
- if (obj && obj.whether_open) {
- values.whether_open = true;
- }
dispatch({
type: 'gateWay/editHttpStrategy',
@@ -249,6 +249,7 @@ export default class HttpTable extends PureComponent {
});
};
resolveOk = () => {
+ console.log('进来了')
this.setState(
{
whetherOpenForm: false
diff --git a/src/components/OauthForm/index.js b/src/components/OauthForm/index.js
index 355511e3c..cf02d9715 100644
--- a/src/components/OauthForm/index.js
+++ b/src/components/OauthForm/index.js
@@ -185,8 +185,8 @@ class CreateOAuthForm extends PureComponent {
rules: [
{ required: true, message: formatMessage({id:'placeholder.oauth.client_id'}) },
{
- max: 64,
- message: formatMessage({id:'placeholder.appShare.max64'})
+ max: 255,
+ message: formatMessage({id:'placeholder.appShare.max255'})
}
]
})()}
@@ -207,8 +207,8 @@ class CreateOAuthForm extends PureComponent {
rules: [
{ required: true, message: formatMessage({id:'placeholder.oauth.client_secret'}) },
{
- max: 64,
- message: formatMessage({id:'placeholder.appShare.max64'})
+ max: 255,
+ message: formatMessage({id:'placeholder.appShare.max255'})
}
]
})()}
diff --git a/src/components/ThirdList/form.js b/src/components/ThirdList/form.js
index 6917e31a0..31eafb31b 100644
--- a/src/components/ThirdList/form.js
+++ b/src/components/ThirdList/form.js
@@ -220,7 +220,7 @@ class Index extends React.Component {
})(