const rect = e.target.getBoundingClientRect()
this.setState({
shareTop: rect.top,
shareLeft: rect.left + 80
})
转载于:https://www.cnblogs.com/LP1204/p/9837279.html
const rect = e.target.getBoundingClientRect()
this.setState({
shareTop: rect.top,
shareLeft: rect.left + 80
})
转载于:https://www.cnblogs.com/LP1204/p/9837279.html