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) =
相關文章
相關標籤/搜索