大致思路就是,每次登陆都去服务器获取当前用户可用的菜单权限表,自行在前端生成一个路由白名单,然后动态addRouter挂上去~
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true