https://blog.csdn.net/u011215669/article/details/89086362 (()=>{ let canShow = true if(this.props.isPlayerOnly){ canShow = false }else{ if(isFullScreen){ canShow = false } } return {display: canShow ? ‘flex‘:‘none‘ } })()
原生JS代码立即执行:
(function(x){console.log(x)}(1))
原文地址:https://www.cnblogs.com/Oldz/p/12661720.html
时间: 2024-10-10 05:29:50