style={this.state.join_show ? "height:88vh" : ""}
<span className={login ${loginType === 1 ? "active" : "no-active"}
} onClick={() => this.setState({ loginType: 1 })}>密码登录</span>
style={this.state.join_show ? "height:88vh" : ""}
<span className={login ${loginType === 1 ? "active" : "no-active"}
} onClick={() => this.setState({ loginType: 1 })}>密码登录</span>
本文标题:react 行内样式
本文链接:https://www.haomeiwen.com/subject/htdwrktx.html
网友评论