Commit Graph

162 Commits

Author SHA1 Message Date
luoawai 6b30c9f7bb
fix(useFormItem):修复ApiSelect的onChange事件获取不到第二个参数(#2592) (#2674) 2023-04-05 15:58:43 +08:00
vben aedb8e53aa perf: 优化env字段 2023-04-05 15:58:03 +08:00
vben ba2415c3b4 chore: Extract lint config 2023-04-04 16:55:34 +08:00
Lantz 3a1ec7ac86
fix(hooks): 修改在使用useEcharts时, getInstance无法获取到最新的echarts实例的问题 (#2650) 2023-03-29 14:58:18 +08:00
予ヾ 3b0077dc73
fix: 修复水印重复叠加问题 (#2622)
Co-authored-by: whong <whif@foxmail.com>
2023-03-14 17:06:25 +08:00
lzdjack 3de5b53bcd
fix: 修复表单验证 (#2620)
1.优化验证
2.修复自定义组件验证出错的问题
2023-03-14 17:06:10 +08:00
前端爱码士 4f4bec0c22
fix: 修复消息hooks icon类型 (#2585) 2023-02-27 12:51:26 +08:00
luocong2016 d25dfcc7c0
docs:optimization point notes (#2526) 2023-02-10 07:42:04 +08:00
lzdjack 45b0be7f7e
fix: 修复表单自定义组件验证不通过的bug (#2510) 2023-01-31 18:02:53 +08:00
1xuanyuan1 53b2b23620
fix: 修复权限切换不生效问题 (#2488)
Co-authored-by: 戴文俊 <daiwenjun@qutoutiao.net>
2023-01-18 11:15:46 +08:00
无木 e962fa039a fix: auto resize echart on menu collapsed, fixed #2265 2022-10-29 10:05:44 +08:00
muamuamu 5833043d14
fix(useRedo): 重新加载页面useRedo方法会添加一条浏览记录 (#2043) 2022-07-07 15:41:08 +08:00
Tanimodori 02c469b17a
types: 再次修复RouteLocationRawEx类型错误 (vbenjs#1968) (#1975) 2022-06-19 17:51:28 +08:00
Tanimodori 85f1e58bcc
types: 修复RouteLocationRawEx类型错误 (vbenjs#1968) (#1970) 2022-06-16 19:04:50 +08:00
ChenErik e073b4c944
fix(echarts): add resize animation (#1950) 2022-06-16 19:04:30 +08:00
You 554f4615a1
fix: 菜单响应式隐藏时宽度计算错误 (#1945)
Co-authored-by: zeozhou <zeozhou@tencent.com>
2022-06-16 19:04:07 +08:00
山田 857af11ced
feat(useContext): 删除多余重载 (#1932) 2022-06-16 19:02:51 +08:00
Jim 19dc88b4e0
docs: 添加注释, 修复 (#1927)
* docs: 添加注释

* docs: 添加注释

* fix: 后台动态权限changePermissionCode加上await

* docs: 添加注释

* docs: 添加注释

* docs: 添加注释

* docs: 添加注释

* docs: 添加注释
2022-06-16 19:02:10 +08:00
Henry Rao aab6b4f393
fix: 修复多tab带参数匹配不正确的bug (#1482) 2021-12-18 22:27:28 +08:00
Carson dc4b05272f
refactor(dashboard): adjust the spacing of Card under the small screen (#1399)
Co-authored-by: huguangju <huguangju@wowkai.cn>
2021-11-24 23:16:53 +08:00
vben a248e20013 chore: fix type 2021-10-26 01:19:51 +08:00
vben acea184320 chore: format code 2021-10-25 23:49:03 +08:00
pq a0165d1eee
perf(useRuleFormItem): more accurate return type (#1290) 2021-10-20 09:13:04 +08:00
zmtlwzy b653412260
fixed: (update pageTitle when change local) (#1278)
If AppLocalePicker reload prop is false, Should be updated when changing the language
2021-10-12 11:49:05 +08:00
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
vben e15b4f14db fix: fix all types of errors, compatible with volar plugin 2021-08-17 23:04:29 +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
Li Li be2d11d5d3
fix: Fix the invalid hot update of BasicButton when changing style outside (#1016)
* chore: ignore bak dir

Signed-off-by: LiLi <urfreespace@gmail.com>

* fix: 修复BasicButton在外部改变样式热更新无效问题

Signed-off-by: LiLi <urfreespace@gmail.com>

* chore: remove extra ignore

Signed-off-by: LiLi <urfreespace@gmail.com>

* chore: ignore fix

Signed-off-by: LiLi <urfreespace@gmail.com>
2021-08-01 08:50:21 +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
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