[Bug Report]select选择框 value值为空时,无法默认匹配上相对应的label值
GyhHelloWorld opened this issue · comments
Environment
win10,谷歌,vue2.6.11
Reproduction link
https://run.iviewui.com/15vdnEaU
Steps to reproduce
select下拉框中,有一项value值为空,默认无法匹配到该value值,使用 resetFields() 方法,会导致该绑定的数据为undifind
What is expected?
期望默认选中空值,使用resetFields()方法可重置为空值
What is actually happening?
期望默认选中空值,使用resetFields()方法可重置为空值
正常的搜索条件,当select下拉框默认为空时,查询全部,此业务大多数后台管理都会用到,但是iviewUi无法默认绑定全部,重试后,也会数显数据丢失现象。