ViewUI icon indicating copy to clipboard operation
ViewUI copied to clipboard

[Bug Report]InputNumber value 为 undefined 时组件显示为1

Open Feawaris opened this issue 6 years ago • 2 comments

Environment

View UI 4.2.0

Reproduction link

https://run.iviewui.com/sDArYpW1

Steps to reproduce

链接中的obj.value2

What is expected?

跟null一样的效果,显示空

What is actually happening?

value值还是undefined,却显示了1,产生误导

Feawaris avatar Jun 17 '20 07:06 Feawaris

我也遇到了同样的问题

hamsterBiscuit avatar Jul 06 '20 02:07 hamsterBiscuit

+1

blacksunset avatar Dec 23 '20 06:12 blacksunset