Explorar o código

trialcase switch ok

xy %!s(int64=7) %!d(string=hai) anos
pai
achega
8e762a5965
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      src/app/common/manage/TencentResult.js

+ 6 - 1
src/app/common/manage/TencentResult.js

@@ -59,7 +59,12 @@ class TencentResult extends Component {
                                                     </Col>
                                                     <Col span={3}>
                                                     <span className={'schema-table-content'}>
-                                                        <SwitchStatus group={group}/>
+                                                        {
+                                                            this.props.trialcase?
+                                                                <Switch checked={true}/>
+                                                                :
+                                                                <SwitchStatus group={group}/>
+                                                        }
                                                         {/*<span className={'schema-table-content name'}>删除</span>*/}
                                                     </span>
                                                     </Col>