Tencent / tdesign-vue

A Vue.js UI components lib for TDesign.
https://tdesign.tencent.com/vue
MIT License
908 stars 351 forks source link

[InputNumber] 当使用官网所示 large-number和format时,数字起始位的0不会自动消除 #3240

Open luao419 opened 2 months ago

luao419 commented 2 months ago

tdesign-vue 版本

1.9.2-naruto

重现链接

https://tdesign.tencent.com/vue/components/input-number

重现步骤

04206a2b0e1a7acb672afbce822585cf 在官网如图所示组建中,输入0123123123 当使用官网所示 large-number和format时,数字起始位的0不会自动消除

期望结果

数字起始位的0应该等同InputNumber默认配置的行为,自动消除数字首位无效的0

实际结果

当使用官网所示 large-number和format时,数字起始位的0不会自动消除

框架版本

Vue(2.7)

浏览器版本

No response

系统版本

No response

Node版本

v16.20.2

补充说明

No response

github-actions[bot] commented 2 months ago

👋 @luao419,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。