Dreamacro 8 éve
szülő
commit
b86fc3e13c
1 módosított fájl, 1 hozzáadás és 1 törlés
  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');
       }
     },