xy 7 жил өмнө
parent
commit
6415780e39

+ 13 - 9
src/app/common/deploy/tencent/TencentConfig.js

@@ -101,19 +101,23 @@ class TencentConfig extends Component {
                         let defaultName = data.project_by_id.projectName;
                         return (
                             <div>
+                                {
+                                    data.project_by_id.schema_id.schemaState === 'ok' ?
+                                        ''
+                                        :
+                                        this.props.trialcase?
+                                            ''
+                                            :
+                                            <div style={{marginBottom: 10}}>
+                                                <Alert message="数据表结构不符合规范,暂不能部署,请修改" type="warning"
+                                                       banner closable/>
+                                            </div>
+                                }
                                 <div style={{padding: '30px'}}>
                                     <Row gutter={16}>
                                         <Col span={14}>
 
-                                            {
-                                                data.project_by_id.schema_id.schemaState === 'ok' ?
-                                                    ''
-                                                    :
-                                                    <div style={{marginBottom: 10}}>
-                                                        <Alert message="schema 不符合规范,暂不能部署,请修改 schema " type="warning"
-                                                               banner closable/>
-                                                    </div>
-                                            }
+
                                             <FormattedMessage id="fc Deploy">
                                                 {
                                                     msg =>