dev_admin
hjm 6 years ago
parent 9b2ad1f2dd
commit 531cdbf4ab

@ -87,8 +87,9 @@ class ActionView extends Component {
{/*将第一个按钮改为visibility方式隐藏不然加载时测评按钮会出现没有垂直居中的情况*/}
<Tooltip title={ "倒计时为0时服务将被关闭" }>
<Button size="small" className={classes.button + ' actionViewfirstButton'} onClick={()=>this.showWebDisplay(challenge)}
style={{ visibility: challenge.showWebDisplayButton ? '': 'hidden'}} id="showWebDisplayButton"
style={{ display: challenge.showWebDisplayButton ? 'flex': 'none'}}
style={{ visibility: challenge.showWebDisplayButton ? '': 'hidden'}}
id="showWebDisplayButton"
// style={{ display: challenge.showWebDisplayButton ? 'flex': 'none'}}
>
查看效果
</Button>

Loading…
Cancel
Save