let ev = new MouseEvent('click')
document.querySelector('#conv-Page').dispatchEvent(ev) // 按钮的id
自动触发点击事件
猜你喜欢
转载自www.cnblogs.com/ybixian/p/11135986.html
今日推荐
周排行