vue路由守卫
router----index.js中import Vue from "vue";import VueRouter from "vue-router";Vue.use(VueRouter);const routes = [ { path: "/", redirect:'login' }, { path: "/login", name: "login", component: () => import(/* webpackC
原创
2021-04-21 23:23:24 ·
99 阅读 ·
0 评论