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

This commit is contained in:
Zheng Jie
2021-03-31 11:07:24 +08:00
parent 34e2b0689e
commit 9d30a95163

View File

@@ -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: ' 往后一天 ',