[代码优化](v2.6):日期控件修复选择往前一天无效的问题
This commit is contained in:
@@ -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: ' 往后一天 ›',
|
||||||
|
|||||||
Reference in New Issue
Block a user