@@ -5,6 +5,66 @@ toc: false
55spline : explain
66---
77
8+ ## 🌈 1.12.2 ` 2025-05-30 `
9+ ### 🚀 Features
10+ - ` Cascader ` : 新增支持使用 ` option ` 方法自定义下拉选项内容的能力 @huangchen1031 ([ #3565 ] ( https://github.com/Tencent/tdesign-react/pull/3565 ) )
11+ - ` MenuGroup ` : 新增支持 ` className ` and ` style ` 的使用 @wang-ky ([ #3568 ] ( https://github.com/Tencent/tdesign-react/pull/3568 ) )
12+ - ` InputNumber ` : ` decimalPlaces ` 新增支持 ` enableRound ` 参数,用于控制是否启用四舍五入 @RylanBot ([ #3564 ] ( https://github.com/Tencent/tdesign-react/pull/3564 ) )
13+ - ` TagInput ` : 优化可拖拽时,鼠标光标显示为移动光标 @liweijie0812 ([ #3552 ] ( https://github.com/Tencent/tdesign-react/pull/3552 ) )
14+
15+
16+ ### 🐞 Bug Fixes
17+ - ` Card ` : 修复 ` content ` prop 不生效的问题 @RylanBot ([ #3553 ] ( https://github.com/Tencent/tdesign-react/pull/3553 ) )
18+ - ` Cascader ` :
19+ - 修复选项存在超长文字在大小尺寸下展示异常的问题 @Shabi-x ([ #3551 ] ( https://github.com/Tencent/tdesign-react/pull/3551 ) )
20+ - 修复初始化后,异步更新 ` options ` 时,` displayValue ` 无变化的问题 @huangchen1031 ([ #3549 ] ( https://github.com/Tencent/tdesign-react/pull/3549 ) )
21+ - ` DatePicker ` : 修复 ` onFocus ` 事件触发时机问题 @l123wx ([ #3578 ] ( https://github.com/Tencent/tdesign-react/pull/3578 ) )
22+ - ` Drawer ` : 优化 ` TNode ` 重新渲染导致输入光标错误的问题 @betavs ([ #3544 ] ( https://github.com/Tencent/tdesign-react/pull/3544 ) )
23+ - ` Form ` :
24+ - 修复在onValuesChange中通过` setFields ` 设置相同值继续触发` onValuesChange ` 导致` re-render ` 的问题 @HaixingOoO ([ #3304 ] ( https://github.com/Tencent/tdesign-react/pull/3304 ) )
25+ - 修复` FormList ` 删除 ` field ` 后 ` reset ` 值初始化错误的问题 @l123wx ([ #3557 ] ( https://github.com/Tencent/tdesign-react/pull/3557 ) )
26+ - 兼容 ` 1.11.7 ` 版本前单独使用` FormItem ` 的场景 @uyarn ([ #3588 ] ( https://github.com/Tencent/tdesign-react/pull/3588 ) )
27+ - ` Guide ` : 优化组件在屏幕大小变化时没有重新计算位置的问题 @HaixingOoO ([ #3543 ] ( https://github.com/Tencent/tdesign-react/pull/3543 ) )
28+ - ` List ` : 修复空子节点导致获取子节点 ` props ` 失败的问题 @RSS1102 ([ #3570 ] ( https://github.com/Tencent/tdesign-react/pull/3570 ) )
29+ - ` Popconfirm ` : 修复 ` confirmBtn ` 属性的 children 不生效的问题 @huangchen1031 ([ #3556 ] ( https://github.com/Tencent/tdesign-react/pull/3556 ) )
30+ - ` Slider ` : 修复 ` Slider ` 的 最后一个 label 宽度不足自动换行的问题 @l123wx ([ #3581 ] ( https://github.com/Tencent/tdesign-react/pull/3581 ) )
31+ - ` Textarea ` : 修复输入中文被中断的问题 @betavs ([ #3544 ] ( https://github.com/Tencent/tdesign-react/pull/3544 ) )
32+ - ` TreeSelect ` : 修复` TreeSelect ` 单点已选中的值时,会删除已选中的值的问题 @HaixingOoO ([ #3573 ] ( https://github.com/Tencent/tdesign-react/pull/3573 ) )
33+
34+ ### 🚧 Others
35+ - ` Dialog ` : 优化组件的初始化渲染时间 @RylanBot ([ #3561 ] ( https://github.com/Tencent/tdesign-react/pull/3561 ) )
36+
37+
38+ ## 🌈 1.12.2 ` 2025-05-30 `
39+ ### 🚀 Features
40+ - ` Cascader ` : 新增支持使用 ` option ` 方法自定义下拉选项内容的能力 @huangchen1031 ([ #3565 ] ( https://github.com/Tencent/tdesign-react/pull/3565 ) )
41+ - ` MenuGroup ` : 新增支持 ` className ` and ` style ` 的使用 @wang-ky ([ #3568 ] ( https://github.com/Tencent/tdesign-react/pull/3568 ) )
42+ - ` InputNumber ` : ` decimalPlaces ` 新增支持 ` enableRound ` 参数,用于控制是否启用四舍五入 @RylanBot ([ #3564 ] ( https://github.com/Tencent/tdesign-react/pull/3564 ) )
43+ - ` TagInput ` : 优化可拖拽时,鼠标光标显示为移动光标 @liweijie0812 ([ #3552 ] ( https://github.com/Tencent/tdesign-react/pull/3552 ) )
44+
45+
46+ ### 🐞 Bug Fixes
47+ - ` Card ` : 修复 ` content ` prop 不生效的问题 @RylanBot ([ #3553 ] ( https://github.com/Tencent/tdesign-react/pull/3553 ) )
48+ - ` Cascader ` :
49+ - 修复选项存在超长文字在大小尺寸下展示异常的问题 @Shabi-x ([ #3551 ] ( https://github.com/Tencent/tdesign-react/pull/3551 ) )
50+ - 修复初始化后,异步更新 ` options ` 时,` displayValue ` 无变化的问题 @huangchen1031 ([ #3549 ] ( https://github.com/Tencent/tdesign-react/pull/3549 ) )
51+ - ` DatePicker ` : 修复 ` onFocus ` 事件触发时机问题 @l123wx ([ #3578 ] ( https://github.com/Tencent/tdesign-react/pull/3578 ) )
52+ - ` Drawer ` : 优化 ` TNode ` 重新渲染导致输入光标错误的问题 @betavs ([ #3544 ] ( https://github.com/Tencent/tdesign-react/pull/3544 ) )
53+ - ` Form ` :
54+ - 修复在onValuesChange中通过` setFields ` 设置相同值继续触发` onValuesChange ` 导致` re-render ` 的问题 @HaixingOoO ([ #3304 ] ( https://github.com/Tencent/tdesign-react/pull/3304 ) )
55+ - 修复` FormList ` 删除 ` field ` 后 ` reset ` 值初始化错误的问题 @l123wx ([ #3557 ] ( https://github.com/Tencent/tdesign-react/pull/3557 ) )
56+ - 兼容 ` 1.11.7 ` 版本前单独使用` FormItem ` 的场景 @uyarn ([ #3588 ] ( https://github.com/Tencent/tdesign-react/pull/3588 ) )
57+ - ` Guide ` : 优化组件在屏幕大小变化时没有重新计算位置的问题 @HaixingOoO ([ #3543 ] ( https://github.com/Tencent/tdesign-react/pull/3543 ) )
58+ - ` List ` : 修复空子节点导致获取子节点 ` props ` 失败的问题 @RSS1102 ([ #3570 ] ( https://github.com/Tencent/tdesign-react/pull/3570 ) )
59+ - ` Popconfirm ` : 修复 ` confirmBtn ` 属性的 children 不生效的问题 @huangchen1031 ([ #3556 ] ( https://github.com/Tencent/tdesign-react/pull/3556 ) )
60+ - ` Slider ` : 修复 ` Slider ` 的 最后一个 label 宽度不足自动换行的问题 @l123wx ([ #3581 ] ( https://github.com/Tencent/tdesign-react/pull/3581 ) )
61+ - ` Textarea ` : 修复输入中文被中断的问题 @betavs ([ #3544 ] ( https://github.com/Tencent/tdesign-react/pull/3544 ) )
62+ - ` TreeSelect ` : 修复` TreeSelect ` 单点已选中的值时,会删除已选中的值的问题 @HaixingOoO ([ #3573 ] ( https://github.com/Tencent/tdesign-react/pull/3573 ) )
63+
64+ ### 🚧 Others
65+ - ` Dialog ` : 优化组件的初始化渲染时间 @RylanBot ([ #3561 ] ( https://github.com/Tencent/tdesign-react/pull/3561 ) )
66+
67+
868## 🌈 1.12.1 ` 2025-05-07 `
969### 🐞 Bug Fixes
1070- 修复 1.12.0 兼容 React 18 以下的问题 @uyarn ([ #3545 ] ( https://github.com/Tencent/tdesign-react/pull/3545 ) )
0 commit comments