mounted() {//挂载完成
document.body.style.zoom = document.documentElement.clientWidth / 1920
window.onresize = () => {
document.body.style.zoom = document.documentElement.clientWidth / 1920
}
},
粗暴自适应
最新推荐文章于 2024-07-18 13:56:07 发布