Commit Graph

126 Commits

Author SHA1 Message Date
无木 76a5f87c0c fix: `hasPermission` not work in `ROLE` Mode 2021-06-30 16:52:13 +08:00
Lan 9de6ac1119
refactor(contentHeight): 重构,将PageWrapper的useContentHeight抽象为公共hook,满足自定义扩展组件时的自动高度计算需求。 同时优化高度计算算法。 (#826) 2021-06-30 00:50:19 +08:00
vben 913c22c84f feat(menu): the route is automatically mapped to the menu 2021-06-27 23:58:14 +08:00
vben 480cfb914e fix: fix antdv console warning 2021-06-26 23:56:57 +08:00
Vben fa64fc8a62 fix(api-select): ensure that the onchange function parameters are correct 2021-06-24 23:51:14 +08:00
无木 154ebc3d96 fix(use-message): `content` not support vNode
修复封装的`useMessage`部分函数中`content`不支持vNode类型以及`createConfirm`不支持html的问题
2021-06-17 22:38:22 +08:00
Vben 4f20d45f9d chore: type optimization 2021-06-17 21:43:53 +08:00
Vben bd2039accb refactor: remove useExpose 2021-06-11 22:45:02 +08:00
Vben 00fca0fe6c chore: prettier code 2021-06-09 22:36:30 +08:00
Vben cda0f9c10a chore: add some notes 2021-06-07 21:30:27 +08:00
无木 fb6c76db53 feat(echarts): add getInstance for useECharts
为useECharts添加getInstance以便绑定事件或执行更多自定义动作
2021-06-04 17:22:06 +08:00
Netfan 5ddccf6ba2
feat(tabs): add setTabTitle method (#680)
添加设置标签页标题的方法和演示
2021-06-01 01:13:19 +08:00
Netfan 9e5e630987
refactor(api): remove unnecessary userId param (#675)
* refactor(api): remove unnecessary userId param

移除getUserInfo、getPermCode、getMenuList接口的userId参数。
这些接口应当始终与当前登录用户相关而无需传递userId。

* fix: fix auth header key case error
2021-05-29 23:11:38 +08:00
Vben c9089c3243 chore: typo 2021-04-13 21:42:10 +08:00
Vben 663d13a67f fix: fix case errors 2021-04-10 23:57:50 +08:00
Vben 2037293aa3 refactor: refactor hooks 2021-04-10 21:41:22 +08:00
Vben 215d8bab38 refactor: refactor store 2021-04-10 21:41:22 +08:00
Vben 96a49ba116 chore: update deps 2021-04-08 22:08:12 +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 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 82c3186309 fix(menu): make sure the menu is displayed properly on the small screen close #336 2021-03-17 21:08:46 +08:00
Vben 3c4de9b0be fix(input-count): make sure the reset function works close #381 2021-03-17 20:59:49 +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 2c6aa8528d refactor: code optimization 2021-03-10 22:28:37 +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 b6cea4a950 feat(icon-picker): add icon-picker component 2021-03-01 23:11:12 +08:00
Vben c8e84dc14e chore: typo 2021-02-28 23:05:37 +08:00
Vben 15567e478c fix: improve persistent cache logic 2021-02-28 12:25:57 +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 fcee7d4eb7 perf: move src/types to root 2021-02-26 20:09:24 +08:00
Vben 8a9ca498d7 chore: remove useless code 2021-02-25 20:25:02 +08:00
HelKim 66fc1b7845
fix(watermark): watermark causes a blank bar (#297) 2021-02-24 20:25:44 +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 da04913ef3 feat: added settingButtonPosition configuration close #275 2021-02-18 21:12:27 +08:00
vben 370b12f515 feat: support echarts 5.0 2021-02-17 23:57:48 +08:00
vben d7531554a2 fix(i18n): fix useMessage i18n type #262 2021-02-10 01:03:28 +08:00
vben 5810078bc7 wip: code adjustment and optimization 2021-02-10 00:53:47 +08:00
vben 3d1681ee9a feat: theme color switch 2021-02-03 23:52:55 +08:00
vben ff2b12b409 refactor(menu): added component. Solve the menu stuck problem 2021-01-17 22:36:06 +08:00
vben c22de5c35b fix: useI18n type 2021-01-11 21:05:16 +08:00
vben 664035328f wip: suppoer vite2 -- dynamic import 2021-01-10 20:44:39 +08:00
vben 99ac309fa9 wip: support vite 2021-01-09 23:28:52 +08:00
vben de5bf757f2 fix(form): formAction slot not work 2021-01-07 21:16:30 +08:00
vben 1e5fcd2cd2 feat: added mixSide trigger 2021-01-06 22:42:36 +08:00