Commit 9d30a951 by Zheng Jie

[代码优化](v2.6):日期控件修复选择往前一天无效的问题

parent 34e2b068
...@@ -54,7 +54,7 @@ export const calendarMoveShortcuts = [{ ...@@ -54,7 +54,7 @@ export const calendarMoveShortcuts = [{
} }
startTime = picker.value[0].daysAgo(1) startTime = picker.value[0].daysAgo(1)
endTime = picker.value[1].daysAgo(1) endTime = picker.value[1].daysAgo(1)
picker.$emit('pick', [startTime, picker]) picker.$emit('pick', [startTime, endTime])
} }
}, { }, {
text: ' 往后一天 ›', text: ' 往后一天 ›',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment