feat(DatetimePicker): add getPicker method

This commit is contained in:
陈嘉涵
2019-12-29 09:03:27 +08:00
committed by neverland
parent 5eb2a4012a
commit 1dc1feae40
7 changed files with 30 additions and 15 deletions
+5
View File
@@ -67,6 +67,11 @@ export const TimePickerMixin = {
},
methods: {
// @exposed-api
getPicker() {
return this.$refs.picker;
},
onConfirm() {
this.$emit('confirm', this.innerValue);
},