fix(inputNumber): 编辑器右侧面板默认打开千分符配置 #11652
Open
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.
保持与只读态和最终渲染态里的千分符渲染结果一致
What
修改 input-number 组件在编辑器右侧面板的千分符配置,改成默认打开
Why
数字输入框的千分符配置在最终渲染时默认会设置为 true
而编辑器里配置 input-number 组件时默认不会带上千分符配置属性,导致在编辑态的预览时看到的数据是不带千分符的,这与最终的渲染结果不一致
How
input-number 组件里的默认属性中新增 kilobitSeparator: true