Commit cd38424b authored by 程恺文's avatar 程恺文

菜单选择控件

parent 39e5a111
Pipeline #22824 passed with stages
in 2 minutes 30 seconds
...@@ -53,7 +53,7 @@ class B extends React.Component { ...@@ -53,7 +53,7 @@ class B extends React.Component {
return ( return (
<div> {this.state.data.map((v, i) => ( <div> {this.state.data.map((v, i) => (
<div className={this.state.data[i]} onClick={this.dianji.bind(this,i)} title={'程恺文' + i} style={{ color: this.state.color[i] }}> <div className={this.state.data[i]} onClick={this.dianji.bind(this,i)} title={'程恺文' + i} style={{ color: this.state.color[i] }}>
{i + v + '程恺文'} {i + v + '程恺文 '}
</div> </div>
))}</div> ))}</div>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment