|
|
@@ -60,7 +60,7 @@ class APIGroupCardRender extends Component {
|
|
|
} else {
|
|
|
this.state = {
|
|
|
showOK: false,
|
|
|
- groupName: 'graphql_endpoint',
|
|
|
+ groupName: props.defalutName,
|
|
|
environmentName: 'test',
|
|
|
defaultDomain: '',
|
|
|
frontType: 'http&https',
|
|
|
@@ -85,7 +85,7 @@ class APIGroupCardRender extends Component {
|
|
|
})
|
|
|
} else {
|
|
|
this.setState({
|
|
|
- groupName: 'graphql_endpoint',
|
|
|
+ groupName: next.defalutName,
|
|
|
environmentName: 'test',
|
|
|
defaultDomain: '',
|
|
|
frontType: 'http&https',
|