xy 7 yıl önce
ebeveyn
işleme
610872817d

+ 13 - 13
src/app/common/deploy/tencent/apiPathCard/APIPathCardRender.js

@@ -168,19 +168,19 @@ class APIPathCardRender extends Component {
         return (
             <div>
                 <div key={'apiGWName'} style={{marginBottom: 10}}>
-                                    <span className='vice-title'>
-                                        {
-                                            youMustFill['apiGWName']?
-                                                <span style={{color: 'red', display: 'inline', marginRight: 10}}>*</span>
-                                                :
-                                                ''
-                                        }
-                                        <FormattedMessage id={valueToKey['apiGWName']}/>
-                                        &nbsp;
-                                        <Tooltip placement="top" title={toolTipTitle['apiGWName']}>
-                                            <Icon type="question-circle"/>
-                                        </Tooltip>
-                                    </span>
+                    <span className='vice-title'>
+                        {
+                            youMustFill['apiGWName']?
+                                <span style={{color: 'red', display: 'inline', marginRight: 10}}>*</span>
+                                :
+                                ''
+                        }
+                        <FormattedMessage id={valueToKey['apiGWName']}/>
+                        &nbsp;
+                        <Tooltip placement="top" title={toolTipTitle['apiGWName']}>
+                            <Icon type="question-circle"/>
+                        </Tooltip>
+                    </span>
                     <Input value={this.state.apiGWName} style={{width: 400}}
                            onChange={this.switchConfig('apiGWName')}/>
                 </div>

+ 4 - 4
src/app/graphqlService/component/application/Application.js

@@ -5,15 +5,15 @@ import OrderApp from '../../../../case/OrderApp/src/App'
 class Application extends Component {
 
     render() {
-        let schemaName = this.props.location.state ? this.props.location.state.schemaName : 'ecommerce';
+        let schemaName = this.props.location.state ? this.props.location.state.schemaName : 'e-commerce';
         return (
             <div>
                 {
-                    schemaName === "e-commerce" ?
-                        <ShopApp/> :
+                    schemaName === "appointment template" ?
+                        <OrderApp/> :
                         schemaName === 'account template'?
                             <BillApp /> :
-                                <OrderApp />
+                                <ShopApp />
 
                 }
             </div>