update DatePicker
update DatePicker
This commit is contained in:
parent
3732707ede
commit
f92ef70f46
3 changed files with 20 additions and 3 deletions
|
@ -13,9 +13,6 @@ export default {
|
|||
handleShortcutClick (shortcut) {
|
||||
if (shortcut.value) this.$emit('on-pick', shortcut.value());
|
||||
if (shortcut.onClick) shortcut.onClick(this);
|
||||
},
|
||||
resetDate () {
|
||||
this.date = new Date(this.date);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue