view-design / ViewUI

A high quality UI Toolkit built on Vue.js 2.0
https://www.iviewui.com/
Other
2.65k stars 797 forks source link

[Bug Report]DatePicker 将值从空制符串置为null出现BUG #1027

Open SSRChen opened 2 years ago

SSRChen commented 2 years ago

Environment

4.7.0

Reproduction link

https://run.iviewui.com/LpJkTUMd

Steps to reproduce

1、将 DatePicker 的初始值设为空字符串 ''
2、将 DatePicker 的值置为 null 3、点击 DatePicker 选择日期,但v-model的值并没有发生变化,还是null,第二次选择才能正确的更新数据。

What is expected?

第一选择v-model绑定的值能正确更新

What is actually happening?

第一次选择v-model绑定的值不能正确更新

huhan-o commented 2 years ago

+1 希望工作人员能够修复

skming commented 2 years ago

same problem