-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[InputNumber]修复精度问题;支持超过 16 位的大数 #1240
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## feature #1240 +/- ##
===========================================
+ Coverage 58.10% 58.14% +0.03%
===========================================
Files 407 409 +2
Lines 15328 15263 -65
Branches 2915 2896 -19
===========================================
- Hits 8906 8874 -32
+ Misses 6146 6120 -26
+ Partials 276 269 -7
Help us with your feedback. Take ten seconds to tell us how you rate us. |
honkinglin
approved these changes
Aug 10, 2022
uyarn
approved these changes
Aug 10, 2022
chaishi
added a commit
to chaishi/tdesign-vue
that referenced
this pull request
Aug 13, 2022
* feat(input-number): input-number supports slots * feat(input-number): large number * feat(input-number): large number support * fix(input-number): large number * fix(input-number): form can disable input-number * feat(input-number): add label and suffix props to input-number * test(table): update snapshots
uyarn
pushed a commit
that referenced
this pull request
Aug 16, 2022
* feat(input-number): input-number supports slots * feat(input-number): large number * feat(input-number): large number support * fix(input-number): large number * fix(input-number): form can disable input-number * feat(input-number): add label and suffix props to input-number * test(table): update snapshots
xiaosansiji
pushed a commit
that referenced
this pull request
Aug 16, 2022
* feat(input-number): input-number supports slots * feat(input-number): large number * feat(input-number): large number support * fix(input-number): large number * fix(input-number): form can disable input-number * feat(input-number): add label and suffix props to input-number * test(table): update snapshots Co-authored-by: sheepluo <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
关联子仓库:Tencent/tdesign-common#689
🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
📝 更新日志
feat(Input): 错误文本提示,不再占普通用文档流(Breaking Change)
feat(InputNumber): 内置的 input 组件 ref 名称由
refInputElem
更为inputRef
(Breaking Change)feat(InputNumber): 错误文本提示,不再占普通用文档流(Breaking Change)
feat(InputNumber): 支持超过 16 位的大数
feat(InputNumber): 支持
decimal
和format
组合使用,即format
新增第二个参数小数点格式化之后的值,方便大数场景应用feat(InputNumber): 新增事件
onValidate
,当数值超过最大值或小于最小值时触发,可用于显示错误提示文本feat(InputNumber): 错误提示文本区域支持左侧对齐和输入框对齐两种方式, issue#1229
fix(InputNumber): 修复在输入数值不满足条件时,没有触发 onChange 事件问题
fix(InputNumber): 修复计算过程中的精度问题
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单