Kaynağa Gözat

DatePicker: set milliseconds to 0 (#5663)

杨奕 8 yıl önce
ebeveyn
işleme
2106eea52c
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      packages/date-picker/src/panel/date.vue

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

@@ -325,6 +325,7 @@
       },
 
       confirm() {
+        this.date.setMilliseconds(0);
         this.$emit('pick', this.date);
       },