Просмотр исходного кода

例子的 deploy 设置不能保存

xy 7 лет назад
Родитель
Сommit
d2d125f751
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/app/graphqlService/TrialCase.jsx
  2. 1 1
      src/app/wechatService/WxTrialCase.js

+ 1 - 1
src/app/graphqlService/TrialCase.jsx

@@ -75,7 +75,7 @@ class TrialCase extends Component {
                                     case 'schema':
                                         return <Schema trialcase={true} userID={this.state.userID} schemaName={schemaName} schemaID={schemaID} history={this.props.history} location={this.props.location}/>;
                                     case 'deploy':
-                                        return <Deploy userID={this.state.userID} schemaID={schemaID}/>;
+                                        return <Deploy trialcase={true} userID={this.state.userID} schemaID={schemaID}/>;
                                     case 'graphiql':
                                         return <Graphql/>;
                                     case 'template':

+ 1 - 1
src/app/wechatService/WxTrialCase.js

@@ -54,7 +54,7 @@ class WxTrialCase extends Component {
                                 case 'wechat-config':
                                     return <WxConfig defaultAppName={'ecommerce'} defaultConfigID={'ecommerce_wxConfigID'} trialcase={true} history={this.props.history} location={this.props.location}/>;
                                 case 'wechat-deploy':
-                                    return <WxDeploy userID={this.state.userID} configID={configID}/>;
+                                    return <WxDeploy trialcase={true} userID={this.state.userID} configID={configID}/>;
                                 case 'wechat-result':
                                     return <WxResult/>;
                                 default: