Parcourir la source

group name default project name

xy il y a 7 ans
Parent
commit
70f0bebbed

+ 2 - 2
src/app/common/deploy/tencent/apiGroupCard/APIGroupCardRender.js

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