From b2c8062131ceb9bf2061594dd54cdfc20da3a05e Mon Sep 17 00:00:00 2001
From: water <2778335106@qq.com>
Date: 星期五, 20 五月 2022 17:09:28 +0800
Subject: [PATCH] style 修改一个错误的参数注释     public R<Void> remove(@ApiParam("岗位ID串") @PathVariable Long[] roleIds) {         return toAjax(roleService.deleteRoleByIds(roleIds));     }

---
 ruoyi-ui/src/store/getters.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/store/getters.js b/ruoyi-ui/src/store/getters.js
new file mode 100644
index 0000000..da6ab39
--- /dev/null
+++ b/ruoyi-ui/src/store/getters.js
@@ -0,0 +1,18 @@
+const getters = {
+  sidebar: state => state.app.sidebar,
+  size: state => state.app.size,
+  device: state => state.app.device,
+  visitedViews: state => state.tagsView.visitedViews,
+  cachedViews: state => state.tagsView.cachedViews,
+  token: state => state.user.token,
+  avatar: state => state.user.avatar,
+  name: state => state.user.name,
+  introduction: state => state.user.introduction,
+  roles: state => state.user.roles,
+  permissions: state => state.user.permissions,
+  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