Commit Graph

252 Commits

Author SHA1 Message Date
vben 56a966cfbf chore: format code 2021-08-24 22:41:48 +08:00
无木 3a5d1a5757 fix: refresh failed while token invalid
修复当token失效时,刷新页面可能出现异常的问题

fixed: #1101
2021-08-20 16:55:42 +08:00
无木 cc46935a82 feat: always refresh userinfo when page reload
每次刷新整个页面时都从接口更新用户信息
2021-08-16 06:04:12 +08:00
无木 2dd3d85448 fix: fixed `useRedo` may loss route params
修复useRedo会丢失当前路由的params数据问题

fixed: #1079
2021-08-15 16:45:13 +08:00
Leo Caan (陈栋) 1bb5156923
fix(route): the whitelist should include basicRoutes (#1048)
* fix(table): recursive updateTableDataRecord

无刷新更新表格数据时,支持递归查找,用于树状数据时。同时新增 findTableDataRecord 函数,用于支持无刷新新增数据到树状表格中

* fix(router): whitelist include basicRoutes

白名单应包含不在菜单上出现的静态路由,否则在动态切换菜单 resetRouter 时会丢失这些,如在usePermission.resume中

* fix: get basicRoutes whitelist bad code
2021-08-08 10:15:34 +08:00
Lan 9c4889f085
fix(perm-guard): Fix the problem that the routing query is lost after refreshing the page (#941) 2021-07-21 23:27:24 +08:00
无木 341bd633d8 fix(demo): menu `error-log` link to 404 page
修复演示菜单的错误日志页面指向了404的问题
2021-07-21 11:20:40 +08:00
无木 c1178027f0 fix: fix homePage affix error
修复当没有通过接口为用户指定首页时,如果默认的首页是一个带有重定向的路由,则可能出现双首页Tab的问题
2021-07-15 17:15:15 +08:00
无木 4b46a84c2b fix: infinite redirect in `BACK` mode
修复后端权限模式下的路由无限重定向的问题
2021-07-15 01:59:23 +08:00
无木 87583c8b54 fix: ensure PAGE_NOT_FOUND_ROUTE exist
修复某些情况下404路由可能白屏的问题
2021-07-14 21:37:10 +08:00
无木 237e65eac9 fix: resolving `Vue Router warn`
移除因为动态加载路由而产生的vue-router警告
2021-07-14 20:32:58 +08:00
无木 0a3683a186 feat: customized user home page
新增自定义的用户首页(可以每个用户都不相同)
2021-07-13 14:10:31 +08:00
无木 f5e31febbd fix(breadcrumb): `redirect` not worked
修复面包屑组件的重定向菜单不能工作以及eslint警告
2021-07-13 11:09:00 +08:00
无木 5ceeefd17d fix(menu): display error when contains hidden items
修复顶栏菜单在包含隐藏项目时的显示问题
2021-07-09 17:25:38 +08:00
Vben dafcdd898c fix: ensure that safari is running properly, fix #875 2021-07-07 23:40:29 +08:00
无木 02d3dca57e fix(app-search): exclude items by `hideChildrenInMenu`
修复菜单搜索组件可能会显示被隐藏的子菜单的问题
2021-07-05 14:50:41 +08:00
无木 faf5c9fd7e fix(app-search): exclude hidden items
修复菜单搜索组件可能会显示被隐藏的菜单的问题
2021-07-05 14:34:49 +08:00
无木 d5d5c4b4bf fix(demo): `setup` page route config
修复引导页的相关路由配置
2021-07-05 12:18:05 +08:00
Lan 48fcd7684c
feat(param-menu): feature: menu with params (#845) 2021-07-03 17:13:59 +08:00
无木 d52b0de83e feat(route): add `hidePathForChildren` in `meta`
添加`hidePathForChildren`选项用于在子菜单中隐藏本级path
2021-07-02 00:30:48 +08:00
无木 72ac240f28 feat: routers support `ignoreRoute` option
为路由配置添加`meta`.`ignoreRoute`配置,允许在`ROUTE_MAPPING`及`BACK`模式下配置纯菜单数据

fixed:
2021-07-01 23:54:10 +08:00
Vben cdb10cc4ac fix(menu): make sure the menu is activated correctly 2021-06-30 00:47:59 +08:00
vben f9cda2e8c0 chore: release 2.5.2 2021-06-28 00:22:34 +08:00
vben 913c22c84f feat(menu): the route is automatically mapped to the menu 2021-06-27 23:58:14 +08:00
vben 327d71b8fb perf(router): reduce the number of guard files 2021-06-27 22:59:59 +08:00
无木 0e414ba3c1 feat(demo): add route multi tabs show
添加同一路由演示多个不同参数的tab

close: #817
2021-06-26 21:25:11 +08:00
Vben 7dce50cb1f chore: typo 2021-06-19 22:38:29 +08:00
Vben d196340d27 feat(demo): added guide page example 2021-06-17 21:43:53 +08:00
无木 c6b766d8ea fix(route): dynamically introduce components error
修复后台权限模式下,加载IFrame类型的路由时会丢失component的问题
2021-06-11 00:29:39 +08:00
Vben 8e410fc640 feat: add CropperAvatar component 2021-06-10 21:46:46 +08:00
Vben 00fca0fe6c chore: prettier code 2021-06-09 22:36:30 +08:00
无木 84d9300e52 fix(demo): `breadcrumb` route invalid redirect 2021-06-08 16:45:42 +08:00
无木 df8cd86051 fix(router): loss `directory` route
修复"目录"路由丢失的问题

fix: #722
2021-06-08 15:14:05 +08:00
Vben cda0f9c10a chore: add some notes 2021-06-07 21:30:27 +08:00
vben 5465f058ce feat(user): add user login expiration example 2021-05-25 23:14:05 +08:00
zuihou 9e208411a2 feat(demo): add permission table demo 2021-04-27 00:22:05 +08:00
jinmao88 85b92a9add
perf: add AppendFormDemo (#503)
Co-authored-by: haha <admin@qq.com>
2021-04-19 18:42:31 +08:00
Vben a812685084 feat: add codeEditor component 2021-04-17 18:42:14 +08:00
Vben c04e8943bc perf: merge locale file 2021-04-17 18:39:18 +08:00
Vben e1bc33f5c5 perf: improve flowChart logic 2021-04-17 18:36:49 +08:00
啝裳 2576735ade
feat: add flowChart Component (#488) 2021-04-17 06:06:08 +08:00
Vben 967b28c4c0 feat: persistent save tab, fix #359 2021-04-10 21:41:22 +08:00
Vben 215d8bab38 refactor: refactor store 2021-04-10 21:41:22 +08:00
Vben ee1c349858 fix(menu): improve menu logic, fix #461 2021-04-08 23:04:16 +08:00
Vben 1e669870cc fix(mock): make sure the background mode login is normal, fix #452 2021-04-07 23:53:16 +08:00
Vben 5b8eb4a49a feat: dark mode 2021-04-07 23:39:54 +08:00
Vben b54b794264 fix(table): make sure the editing line is working, fix #439 2021-04-01 00:52:31 +08:00
Vben 8a14069e71 refactor: refactor dashboard 2021-03-31 23:52:11 +08:00
Vben 2e11ea677b wip: add cropper iamge component 2021-03-29 22:48:13 +08:00
Vben 2f99892d96 feat(print): add print example 2021-03-28 00:04:41 +08:00
Vben 6bb19fb2d4 feat(tree): add headerTitle slot 2021-03-27 17:25:37 +08:00
Vben 979058ad95 perf: refoctor useTitle 2021-03-27 16:03:28 +08:00
Vben a98835e18b chore: types 2021-03-26 22:22:58 +08:00
Vben 8ad127c293 fix: add route base close #404 2021-03-23 23:06:08 +08:00
Vben e2cc5af937 fix(route): ensure that the first level menu can be hidden 2021-03-23 01:06:57 +08:00
Vben b2a1951fd0 fix(menu): ensure the menu has meta attributes close #397 2021-03-20 21:49:24 +08:00
最后 7c16c2fa9e
fix: LayoutMap cannot get correctly (#398)
传过来的 route.component 是小写的时候
2021-03-20 16:36:17 +08:00
HelKim 8360b1d688
fix(progress): fix progress sometimes cannot done (#388) 2021-03-18 21:58:20 +08:00
Vben b67cf22dfc feat(route): add hideChildrenInMenu option close #346 2021-03-18 21:13:15 +08:00
Vben da2d88a984 wip(menu): add hideChildrenInMenu option 2021-03-18 06:07:49 +08:00
Vben 50915c9754 fix(menu): fix the menu disappeared in background mode 2021-03-17 22:15:20 +08:00
Vben e49072c313 fix: ensure the breadcrumb level is correct 2021-03-17 20:57:53 +08:00
Vben e12c588c0a refactor(route): refactoring the routing multi-layer model close #215 2021-03-17 00:10:16 +08:00
Vben 7a6c87f8c1 fix(button): fix button style error close #312 2021-03-12 22:25:59 +08:00
Vben 68ceb2871f chore: rename Amap 2021-03-12 21:55:29 +08:00
Vben a9462f0d4d feat(map): added AMap/Baidu/Google Map example close #81 2021-03-12 21:45:27 +08:00
Vben a89eeef6f3 feat(time): added time compoennt close #285 2021-03-12 21:40:23 +08:00
Vben 5b2fbfb6ce fix(menu): fix hideMenu not working close #338 2021-03-09 23:39:21 +08:00
Vben b7ce74abd6 refactor: refactor the project to solve the hot update problem caused by circular dependencies close #301 2021-03-08 21:19:09 +08:00
Vben 4628d94415 feat: added system management sample page 2021-03-04 01:25:50 +08:00
Vben cd8e924d46 perf(tree): strengthen BasicTree function 2021-03-03 23:35:30 +08:00
Vben 9a1ba74920 wip: system management sample page 2021-03-03 22:52:25 +08:00
Vben d67bd496e8 chore: improve icon-picker logic 2021-03-02 21:00:18 +08:00
Vben e5b2cc1e98 chore: update deps 2021-03-02 06:59:38 +08:00
Vben c625462e98 feat(ws): added WebSocket examples and service scripts 2021-03-02 00:28:20 +08:00
Vben b6cea4a950 feat(icon-picker): add icon-picker component 2021-03-01 23:11:12 +08:00
Vben b476e1c84c fix: ensure that the correct components are dynamically imported 2021-03-01 23:01:37 +08:00
Vben 3b8ca420c7 feat: add dept management page 2021-03-01 22:54:21 +08:00
Vben 37669d067c wip: add account management page 2021-03-01 00:56:25 +08:00
Vben c8e84dc14e chore: typo 2021-02-28 23:05:37 +08:00
Vben f6cef1088d refactor: refactored multi-language modules to support lazy loading and remote loading 2021-02-28 08:48:53 +08:00
Vben bba7768759 perf: replace crypto-es with crypto-js 2021-02-26 00:15:18 +08:00
Vben 8a9ca498d7 chore: remove useless code 2021-02-25 20:25:02 +08:00
vben a09a0eedd2 perf: improve login logic 2021-02-22 23:04:47 +08:00
vben be3a3ed699 perf: remove useless code 2021-02-22 00:01:03 +08:00
vben 9a71029684 chore: update deps 2021-02-21 22:33:47 +08:00
vben b335e7511b chore: fix the error-log list as the system route 2021-02-13 11:15:06 +08:00
vben 5810078bc7 wip: code adjustment and optimization 2021-02-10 00:53:47 +08:00
vben 70c0877d4f chore: some typo 2021-02-05 01:07:36 +08:00
vben 733afddd19 perf(nprocess): remove nprocess css 2021-01-27 21:24:56 +08:00
vben 7279c0a7b5 refactor(menu): added 'SimpleMenu' component. Solve the menu stuck problem #199 #190 #191 2021-01-17 23:02:13 +08:00
vben ff2b12b409 refactor(menu): added component. Solve the menu stuck problem 2021-01-17 22:36:06 +08:00
vben 0aeec5e9d7 fix(mitt): logout and clear the mitt 2021-01-15 00:10:06 +08:00
vben 664035328f wip: suppoer vite2 -- dynamic import 2021-01-10 20:44:39 +08:00
vben d2bdc5665e wip: suppoer vite2 -- import.meta.glob 2021-01-10 19:52:03 +08:00
vben daf2b1e095 wip: suppoer vite2 -- hack xlsx 2021-01-10 10:17:30 +08:00
vben 99ac309fa9 wip: support vite 2021-01-09 23:28:52 +08:00
vben a7a8b894c1 fix(transition): fix transition not work 2021-01-04 22:18:05 +08:00
vben 9c2f3f30bb refactor(table): refactor table #150 #148 #146 #130 #76 2020-12-31 21:24:47 +08:00
vben 3b126e011c perf(route): refactor guard 2020-12-28 01:31:41 +08:00