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