Closed lotherli closed 1 year ago
你的问题是只选择了一个日期的时候不应该触发change事件是吧?
是的,既然是日期范围选择,只选择单个日期时,应不触发onchange事件
-- 发自我的网易邮箱手机智能版
在 2023-02-06 17:28:14,"running snail" @.***> 写道:
你的问题是只选择了一个日期的时候不应该触发change事件是吧?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
2.2.18 已修复
当type='daterange', 选择一个日期区间后(如 ["2023-02-01", "2023-02-02"]),进行二次选择时,只选择一个日期(“2023-02-03”)后直接点击确认,返回的还是上次选择的值(["2023-02-01", "2023-02-02"])。
修复位置为 : uni-datetime-picker.vue ,mobileChange函数增加下列内容 if (!(before && after)) return