2.1.0
2021-11-05
💎 Performance
- tree-select: The clickable range of options occupies the entire row by default (#90)
- tabs: Optimize the scrolling method of the tab bar (#87)
- trigger: Move the
outsideClickHandler
to thedocument
(#76)
🆕 Feature
- table: Add the
#title
slot intable-column
(#95) - form: Add
hideAsterisk
prop (#94) - input: Add
wordLength
prop (#91) - spin: Add size prop and icon & element slot (#86)
- image: Add a slot named error-icon to support custom error status icon (#85)
- Add
Japanese
support (#13)
🐛 BugFix
- slider: Fixed the problem that the right click did not release the drag event (#97)
- select: Fix the issue of
#empty
slot loss (#96) - input-number: Fix the problem of invalid accuracy (#93)
- input-tag: Fix the problem that the width of the input box is calculated incorrectly (#89)
- input: Remove
preventDefault
of keyDown event (#84) - table: Fix the issue that
#column
slot cannot support Fragment (#83) - table: Fix the problem that
scroll.x
does not take effect when used alone (#83) - textarea: Fix the problem of inaccurate automatic height adjustment (#78)
- input: Fix the issue that the
a-input-number
componentmodel-value
does not take effect when the default value is 0 (#75) - input: Fix the problem that
input-search
andinput-password
do not supportslot
(#63) - input: Fix the problem that the cursor position is lost when
input-password
is switched to the visible state of the password (#63)
💅 Style
- input: Modify the style of
clear-btn
to solve the problem thatselect-view
may jitter (#70)
2021-11-05
💎 性能优化
🆕 新增功能
- table: 添加
table-column
中的#title
插槽 (#95) - form: 增加
hideAsterisk
功能 (#94) - input: 增加
wordLength
属性 (#91) - spin: 增加
size
属性和#icon
&#element
插槽 (#86) - image: 增加一个名为
error-icon
的 slot 用于支持定制错误状态的图标 (#85) - 增加
日文
支持 (#13)
🐛 问题修复
- slider: 修复点击右键没有释放拖拽事件的问题 (#97)
- select: 修复
#empty
插槽丢失的问题 (#96) - input-number: 修复精度失效的问题 (#93)
- input-tag: 修复输入框宽度计算错误的问题 (#89)
- input: 移除
keydown
事件的阻止默认行为 (#84) - table: 修复
#column
插槽不能支持Fragment的问题 (#83) - table: 修复
scroll.x
单独使用不生效的问题 (#83) - textarea: 修复自动高度调整不准的问题 (#78)
- input: 修复
a-input-number
组件model-value
默认值为 0 时不生效的问题 (#75) - input: 修复
input-search
和input-password
不支持slot
的问题 (#63) - input: 修复
input-password
切换密码可见状态时光标位置丢失的问题 (#63)
💅 样式更新
- input: 修改
clear-btn
样式,解决select-view
可能会抖动的问题 (#70)