Explorar o código

fix implement

Dreamacro %!s(int64=8) %!d(string=hai) anos
pai
achega
b86fc3e13c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/date-picker/src/panel/date.vue

+ 1 - 1
packages/date-picker/src/panel/date.vue

@@ -345,7 +345,7 @@
       },
 
       afterLeave() {
-        this.$refs.timepicker.handleConfirm();
+        this.$refs.timepicker && this.$refs.timepicker.$emit('pick');
         this.$emit('dodestroy');
       }
     },