|
|
@@ -152,7 +152,7 @@ class APIGWPathResult extends Component {
|
|
|
|
|
|
render() {
|
|
|
let {group} = this.props;
|
|
|
- let {id, frontType, defaultDomain} = group;
|
|
|
+ let {id, frontType, defaultDomain, environmentName} = group;
|
|
|
return (
|
|
|
<Query query={gql(SHOW_APIGWPATH)} variables={{apiGWGroup_id: id}}>
|
|
|
{
|
|
|
@@ -200,7 +200,7 @@ class APIGWPathResult extends Component {
|
|
|
<span className={'schema-table-content name'}
|
|
|
onClick={() => {
|
|
|
this.props.switchMenu('menuLevel2', {key: 'graphiql'});
|
|
|
- this.props.switchAPI(frontType.slice(0, 4) + '://' + defaultDomain + path.apiGWPath)
|
|
|
+ this.props.switchAPI(frontType.slice(0, 4) + '://' + defaultDomain +'/'+ environmentName +path.apiGWPath)
|
|
|
}}>
|
|
|
调试
|
|
|
</span>
|