const router = useRouter(); router.beforeEach((to, from) => { return true })vue3. 路由改写,废除了next() 用return 代替