手动触发js事件(原生)
const fireOnThis = document.getElementsByTagName('body')
const evObj = document.createEvent('MouseEvents')
evObj.initMouseEvent('resize', true, true, window)
fireOnThis[0].dispatchEvent(evObj)
const fireOnThis = document.getElementsByTagName('body')
const evObj = document.createEvent('MouseEvents')
evObj.initMouseEvent('resize', true, true, window)
fireOnThis[0].dispatchEvent(evObj)