原因是页面切换后body的overflow设置为hidden
在路由这里设置一下就可以咯
router.afterEach((to, from, next) => { document.querySelector("body").setAttribute("style", "overflow: auto !important;") });
原因是页面切换后body的overflow设置为hidden
在路由这里设置一下就可以咯
router.afterEach((to, from, next) => { document.querySelector("body").setAttribute("style", "overflow: auto !important;") });