iview 控件报错集合(每天更新)

1.控件DatePicker 报错 Cannot read properties of undefined (reading 'map')    at VueComponent.publicVModelValue

Cannot read properties of undefined (reading 'map')     at VueComponent.publicVModelValue

解决方案

     this.formItem.time = [startDate, endDate];
startDate、endDate不能是时间戳,直接是new Date()格式的

2.获取三级下拉的第三级的信息

 

 this.applyInfo.areaOrgNo =
          this.$refs.myCascader.getCheckedNodes()[0].data.orgNo;

3.select多选的时候,显示+1...

猜你喜欢

转载自blog.csdn.net/weixin_42066070/article/details/130343570
今日推荐