天天看點

Vue3使用路由開發(三)

導航守衛

router.beforeEach(async (to, from) => {
    return await taeZss(to)
})