DatePicker add confirm prop
DatePicker add confirm prop
This commit is contained in:
parent
fe44201b46
commit
b9041a0df9
7 changed files with 83 additions and 13 deletions
|
@ -13,6 +13,12 @@ export default {
|
|||
handleShortcutClick (shortcut) {
|
||||
if (shortcut.value) this.$emit('on-pick', shortcut.value());
|
||||
if (shortcut.onClick) shortcut.onClick(this);
|
||||
},
|
||||
handlePickClear () {
|
||||
this.$emit('on-pick-clear');
|
||||
},
|
||||
handlePickSuccess () {
|
||||
this.$emit('on-pick-success');
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue