constructor() { super(); this.state = { isSelected:0 } } handleClick(index){ console.log(index); this.setState=({ isSelected:index }) } render() { ... <li className={...} onClick={this.handleClick.bin...
what s going on? ...
after downloading node-notifier, execute, npm run dev and report an error Callback was already called,. Has anyone ever encountered such a problem? solve ~ ....
Pop-up box uses -webkit-transform: translate3d(-50%, -50%, 0); to center the pop-up box vertically. But the pop-up box is blurred The style of the pop-up box is .pop-alert { position: fixed; left: 50%; top: 50%; -webkit-transform: ...
get the details of an article with a html tag at the backend, and how to add click events to the images inside what I use in vue is v-html for rendering. Is there any way to add click events to the picture? ...