提交 0a274d8d 编写于 作者: jlj05024111@163.com's avatar jlj05024111@163.com

feat: 修复input框值为0时不显示的问题

上级 91fd7ced
...@@ -92,7 +92,7 @@ export const IBizInput = defineComponent({ ...@@ -92,7 +92,7 @@ export const IBizInput = defineComponent({
() => props.value, () => props.value,
(newVal, oldVal) => { (newVal, oldVal) => {
if (newVal !== oldVal) { if (newVal !== oldVal) {
if (!newVal) { if (!newVal && newVal !== 0) {
currentVal.value = ''; currentVal.value = '';
} else { } else {
currentVal.value = newVal; currentVal.value = newVal;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册