杨磊
昨天 5967652081d92180adbc78da809c26cff5cf730a
src/main.js
@@ -33,3 +33,8 @@
// })
app.use(ElementPlus, { locale })
app.mount('#app')
router.beforeEach((to, from, next) => {
  window.scrollTo({ top: 0 }) // 将滚动条位置设为0
  next()
})