nuxt中使用路由守卫

1.在plugins文件下建立一个route.jsios import { getCookie, setCookie } from '@/pages/logreg/api/cookie' import axios from 'axios' export default ({ app, store }) => { app.router.beforeEach((to, from, next) =
相关文章
相关标签/搜索