Closed lgyytm closed 6 years ago
请按照以下模板填写
2.2.3/
钉钉isv
` <div className="div div1" style={style}
办理环节:{this.props.data.secName} <p className={"person hasPerson" + (!this.state.shouldHas ? '' : ' should') + (this.state.hasActive ? '' : ' max-hide')}>已办人员: {this.props.data.hasPerson instanceof Array ? {this.props.data.hasPerson.map((item) => { return ( {item} ) })} : this.props.data.hasPerson } {this.state.shouldHas && <Icon className={this.state.hasActive ? 'active' : ''} width={20} name="direction-bottom" onClick={this.handleClick.bind(this, 'hasActive', !this.state.hasActive)} />} <p className={"person toPerson" + (!this.state.shouldTo ? '' : ' should') + (this.state.toActive ? '' : ' max-hide')}>待办人员: {this.props.data.toPerson instanceof Array ? {this.props.data.toPerson.map((item) => { return ( {item} ) })} : this.props.data.toPerson } <Icon className={this.state.toActive ? 'active' : ''} width={20} name="direction-bottom" onClick={this.handleClick.bind(this, 'toActive', !this.state.toActive)} />}
<p className={"person hasPerson" + (!this.state.shouldHas ? '' : ' should') + (this.state.hasActive ? '' : ' max-hide')}>已办人员: {this.props.data.hasPerson instanceof Array ? {this.props.data.hasPerson.map((item) => { return ( {item} ) })} : this.props.data.hasPerson } {this.state.shouldHas && <Icon className={this.state.hasActive ? 'active' : ''} width={20} name="direction-bottom" onClick={this.handleClick.bind(this, 'hasActive', !this.state.hasActive)} />}
这是一个
SaltUI 版本
2.2.3/
浏览器、操作系统等环境信息
钉钉isv
复现步骤
` <div className="div div1" style={style}