Commit Graph

14 Commits

Author SHA1 Message Date
Serge Gao 4080fba0bf feat role management 2019-02-15 11:06:02 +08:00
Serge Gao a7ccc6078b feat dynamic routes 2019-02-14 19:26:09 +08:00
Pan 9daeb1cb34 perf: adjust the import order to make it more elegant #1537 2019-01-29 16:54:38 +08:00
inklake 4c49259c92 refine[permission.js]: switch roles will refresh the sidebar correctly (#1067)
后台菜单->权限测试页->指令权限 切换角色 会正确 刷新侧边栏

> /src/store/modules/permission.js

原方法在递归筛选侧边菜单后, 会意外修改原始 asyncRouterMap 导致侧边菜单重绘不正常
已经用新方法替代修复  结果入下图

![图片](https://s1.ax1x.com/2018/09/07/iCL7f1.gif)
2018-09-17 17:46:20 +08:00
Pan 54acf1e0d5 perf[permission]:set role => roles 2018-01-05 11:38:34 +08:00
Pan f7aee3b5a3 refactor 2017-08-28 13:18:35 +08:00
Pan 551e911eb4 全局lint优化 2017-08-28 13:18:35 +08:00
Pan 391e7703ed fix router deepClone bug 2017-08-03 11:24:26 +08:00
Pan 29d28c3231 fix bug in vuex of strict model 2017-07-13 16:54:54 +08:00
Pan 7549eb8044 fix eslint && refine code 2017-06-23 15:39:13 +08:00
孙晨光 1072572ac6 update: 递归过滤异步路由表 2017-06-23 15:25:58 +08:00
Pan 6508b1cc3d refine 2017-05-17 17:59:13 +08:00
Pan 523a9b3de3 add promise 2017-05-17 17:53:37 +08:00
Pan faea4d8bf6 使用addRoutes重构权限 2017-05-17 16:27:12 +08:00