Commit Graph

16 Commits

Author SHA1 Message Date
Pan 0c6e45e9a1 refactor permission 2019-03-21 10:58:44 +08:00
Pan 0c50029cf7 vuex add namespaced 2019-03-20 13:44:42 +08:00
Pan 8b382e1e15 refine code 2019-03-18 18:07:55 +08:00
Pan f3aefe54e8 refine theme color 2019-03-18 09:42:52 +08:00
Pan 6363eb627d perf: adjust the import order to make it more elegant #1537 2019-01-30 14:08:10 +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