自定义点击事件

// 自定义点击事件
let abtn = document.createElement('button')
document.body.appendChild(abtn)
abtn.click()
document.body.removeChild(abtn)

猜你喜欢

转载自blog.csdn.net/weixin_40639095/article/details/131500512
今日推荐