Commit Graph

99 Commits

Author SHA1 Message Date
Lan 6717fe654e
fix: Improve content height calculation (#1136)
* feat(useContentHeight): 为useContentHeight 添加 向上递归 移除差值 的功能。

* feat(useContentHeight): 为useContentHeight 添加 向上递归 移除差值 的功能。 pagewrapper添加 upwardSpace以支持向上递归功能。
2021-08-30 09:04:32 +08:00
vben 56a966cfbf chore: format code 2021-08-24 22:41:48 +08:00
无木 1235978ab2 fix: `useRedo` called duplicate may cause exception
修复useRedo的不当调用可能导致异常的问题

fixed: #1121
2021-08-24 21:01:28 +08:00
无木 93812f734e fix(echarts): theme setting supported
修复useECharts的theme参数不起作用的问题

fixed: #1095
2021-08-18 20:05:40 +08:00
无木 2dd3d85448 fix: fixed `useRedo` may loss route params
修复useRedo会丢失当前路由的params数据问题

fixed: #1079
2021-08-15 16:45:13 +08:00
无木 bcfa338227 feat: add `updatePath` for `useTabs`
添加更新标签path的方法

close: #1068
2021-08-13 15:13:35 +08:00
vben 9035fd191e fix(types): fix some type errors 2021-08-13 00:12:51 +08:00
CXM 6d5388aaf1
fix(type): fix ant-design-vue -> (#1043) 2021-08-08 10:16:37 +08:00
无木 a544dd3e58 fix: auto remove script dom in `useScript`
修复useScript未能自动移除script节点的问题
2021-07-28 11:24:26 +08:00
yanzhuang a1d956d369
fix(useWatermark): fix `func` call `createWatermark` call `clear` to resizeEvent removed (#901) 2021-07-13 22:23:11 +08:00
无木 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
无木 154ebc3d96 fix(use-message): `content` not support vNode
修复封装的`useMessage`部分函数中`content`不支持vNode类型以及`createConfirm`不支持html的问题
2021-06-17 22:38:22 +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 a9462f0d4d feat(map): added AMap/Baidu/Google Map example close #81 2021-03-12 21:45:27 +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 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 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 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 0e7c57bd5e feat(tabs): added tab folding 2021-01-06 20:10:16 +08:00
vben 116a1f7745 wip(table): perf table #136,146,134 2020-12-31 00:11:44 +08:00
vben 4ff1c408dc wip(form): perf form 2020-12-25 01:09:44 +08:00
vben 3c3e640d69 feat(hook): add useKeyPress 2020-12-24 22:58:26 +08:00