Commit Graph

203 Commits

Author SHA1 Message Date
无木 d27633fb31 fix: fixed build warning for style of `intro.js`
修复intro.js的样式文件造成的build警告

fixed: #1130
2021-08-26 20:50:25 +08:00
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