react 行内样式
2020-08-04 本文已影响0人
逸笛
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>