Commit Graph

52 Commits

Author SHA1 Message Date
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
花裤衩 11163146c0
fix[tagsView]: update tagsview when query is different(#1090) 2018-09-14 17:58:59 +08:00
Pan c58bce603b rm unnecessary console.log 2018-09-06 13:18:34 +08:00
花裤衩 d0d1addba8
refactor[store]: refactor tagsView store (#1032) 2018-08-31 16:00:28 +08:00
花裤衩 0fbda3c8c7
feature: add global size option (#1024) 2018-08-29 15:24:47 +08:00
Pan 53f3e7d5e6 format code 2018-08-15 17:29:15 +08:00
mimimi 5f20bfc780 fixed[tagsView]: DEL_OTHERS_VIEWS cachedViews bug (#913)
* mutations DEL_OTHERS_VIEWS state.cachedViews -> i type is string slice(begin: number, end: number)
2018-07-25 17:20:32 +08:00
临书 2a590a2087 Support route query in TagView (#765) 2018-06-12 13:53:56 +08:00
Pan 9fbb028124 perf[permission]: add the verification of roles 2018-05-02 17:37:47 +08:00
花裤衩 0e4ea0871c
feat[sidebar]: add resonsive sidebar (#636) 2018-05-02 14:43:20 +08:00
Pan 3c0696d1a9 fix[tags-view]: fixed delete cachedViews bug #395 2018-01-12 13:30:27 +08:00
Pan 54acf1e0d5 perf[permission]:set role => roles 2018-01-05 11:38:34 +08:00
Pan de08e49f19 fix[i18n]: fixed defalut language bug 2018-01-04 12:37:08 +08:00
tlx6550 fe25c4d96b fix[tags-view]: fixed bug in DEL_OTHERS_VIEWS (#368) 2017-12-22 10:29:47 +08:00
Pan 4d3bbae183 perf[tags-view]:refine the style && format code 2017-12-13 18:33:12 +08:00
leij1ang b6d97f1806 feat[tags-view]: tags-view add contextmenu (#343)
* add the menu by right-clicking the tags

* bug fixed

* refine
2017-12-13 17:43:03 +08:00
Pan a68413cb8f refactor[errorLog]: save the logs in vuex 2017-12-13 13:52:14 +08:00
Pan f9aaaa9091 perf[errorLog]:optimized error-log 2017-12-12 18:14:31 +08:00
Pan ca75f7bcbc perf(tagsView):split to single modules 2017-12-08 16:17:40 +08:00
Pan d476e32032 Merge branch 'master' into refacor/style 2017-11-29 10:05:09 +08:00
Pan d20585a3f9 refactor:foramt views/component-demo 2017-11-17 17:51:41 +08:00
Pan e05da2650b feature:add i18n 2017-11-03 18:37:49 +08:00
Pan aaf24b4654 fix:levelbar&&tabsview bug 2017-11-01 17:55:11 +08:00
Pan 1ae31fdd45 refactor:add keep-alive && component add name 2017-10-31 10:49:24 +08:00
Pan 76f4017470 fix: fix getUserInfo by cookie bug 2017-10-25 17:12:36 +08:00
Pan f712d4682e add:when active tabs closed will go to last path 2017-09-01 10:46:20 +08:00
Pan f7aee3b5a3 refactor 2017-08-28 13:18:35 +08:00
Pan 3c05519a09 refine 2017-08-28 13:18:35 +08:00
Pan 385ec5a762 refine 2017-08-28 13:18:35 +08:00
Pan 551e911eb4 全局lint优化 2017-08-28 13:18:35 +08:00
Pan b8ecda19d8 refine code 2017-08-28 13:18:35 +08:00
Pan 0094f44910 change login by username 2017-08-28 13:18:35 +08:00
Pan 391e7703ed fix router deepClone bug 2017-08-03 11:24:26 +08:00
Pan a0a011e985 fix cookie token bug 2017-07-20 13:27:05 +08:00
Pan 6cb64bebdc refine tab-views 2017-07-14 17:40:34 +08:00
Pan 29d28c3231 fix bug in vuex of strict model 2017-07-13 16:54:54 +08:00
Pan de992c50a6 全局代码格式 优化 2017-07-06 17:56:23 +08:00
Pan 91cb0ac5ca add view tabs 2017-06-23 17:36:13 +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 ecf7558e8e refine permission example 2017-06-06 10:46:20 +08:00
Pan 39d4a04ed1 change token key-name 2017-05-21 21:43:17 +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
Pan 624af00ba3 refine code 2017-05-16 18:20:47 +08:00
Pan 4bed888e9d refine 2017-05-16 11:08:17 +08:00
Pan b8068a4896 fix permission bug 2017-05-11 16:52:38 +08:00
Pan db83dd50d1 add iconfont && trim email 2017-04-26 14:50:02 +08:00
Pan 3fe2a376dd refine 2017-04-24 17:34:04 +08:00