Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

删除视频url, 需要触发onchange事件 #48

Open
chengxintuan opened this issue Jul 10, 2020 · 0 comments
Open

删除视频url, 需要触发onchange事件 #48

chengxintuan opened this issue Jul 10, 2020 · 0 comments

Comments

@chengxintuan
Copy link

removeSource = index => {
let sourcesCopy = this.state.sources.concat([])
sourcesCopy.splice(index, 1)
this.setState({sources: sourcesCopy},() => {
// 删除url链接的时候应该也要同步更新html

  this.props.onChange && this.props.onChange(this.generateHtml())
})

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant