react className 有动态变量名和固定变量名写法
className={`m-li ${this.state.current === index ? 'active' : ''}`} onClick={() => this.changeCurrent(index)}
className={style.tab + ' aaa'}
注意空格
react className 有动态变量名和固定变量名写法
className={`m-li ${this.state.current === index ? 'active' : ''}`} onClick={() => this.changeCurrent(index)}
className={style.tab + ' aaa'}
注意空格
6273
482

被折叠的 条评论
为什么被折叠?
