mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-06 05:32:26 +03:00
fix: shortcus with range (#400)
This commit is contained in:
+1
-1
@@ -379,7 +379,7 @@ export default {
|
||||
handleSelectShortcut(item) {
|
||||
if (isObject(item) && typeof item.onClick === 'function') {
|
||||
const date = item.onClick(this);
|
||||
if (date instanceof Date) {
|
||||
if (date) {
|
||||
this.emitValue(date);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user