dcloudio / uni-ui

基于uni-app的、全端兼容的、高性能UI框架
https://uniapp.dcloud.io/component/uniui/uni-ui.html
Apache License 2.0
1.88k stars 667 forks source link

uni-calender中选择时间段后,再次选择需要点击两次问题 #941

Closed gaochuang159753 closed 1 month ago

gaochuang159753 commented 2 months ago

util.js -> 299 行 this.multipleStatus.before = fullDate this.multipleStatus.after = '' this.multipleStatus.data = []

GRCmade commented 1 month ago

你好,可以给出你是如何使用的吗?

gaochuang159753 commented 1 month ago

场景: <uni-calendar ref="calendar" :clearDate="false" :insert="false" range :start-date="startDate" :end-date="endDate" @confirm="changeDate" />

  1. 插件中代码在选择before && after 再次点击时会把before 置空(this.multipleStatus.before = '')
GRCmade commented 1 month ago

感谢你的反馈,我会进行验证对

GRCmade commented 1 month ago

已提交修改