Skip to content
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

fix(inputNumber): 编辑器右侧面板默认打开千分符配置 #11652

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kerminate
Copy link

保持与只读态和最终渲染态里的千分符渲染结果一致

What

修改 input-number 组件在编辑器右侧面板的千分符配置,改成默认打开

Why

image
数字输入框的千分符配置在最终渲染时默认会设置为 true
而编辑器里配置 input-number 组件时默认不会带上千分符配置属性,导致在编辑态的预览时看到的数据是不带千分符的,这与最终的渲染结果不一致

How

input-number 组件里的默认属性中新增 kilobitSeparator: true

保持与只读态和最终渲染态里的千分符渲染结果一致
@github-actions github-actions bot added the fix label Feb 24, 2025
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant