From 4c79fcb6ed5eb00fe1fb32d584621e139bc98869 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 06 六月 2022 16:16:57 +0800 Subject: [PATCH] update 优化 单表案例 导入接口文档注解写法 --- ruoyi-ui/src/store/getters.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/store/getters.js b/ruoyi-ui/src/store/getters.js index df51465..da6ab39 100644 --- a/ruoyi-ui/src/store/getters.js +++ b/ruoyi-ui/src/store/getters.js @@ -10,6 +10,9 @@ introduction: state => state.user.introduction, roles: state => state.user.roles, permissions: state => state.user.permissions, - permission_routes: state => state.permission.routes + permission_routes: state => state.permission.routes, + topbarRouters:state => state.permission.topbarRouters, + defaultRoutes:state => state.permission.defaultRoutes, + sidebarRouters:state => state.permission.sidebarRouters, } export default getters -- Gitblit v1.9.3