|
|
|
@ -93,11 +93,11 @@ const Calendar = defineComponent({
|
|
|
|
|
}, |
|
|
|
|
triggerPanelChange(value: moment.Moment, mode: CalendarMode | undefined) { |
|
|
|
|
const val = this.valueFormat ? momentToString(value, this.valueFormat) : value; |
|
|
|
|
this.$emit('panelChange', val, mode); |
|
|
|
|
if (value !== this.sValue) { |
|
|
|
|
this.$emit('update:value', val); |
|
|
|
|
this.$emit('change', val); |
|
|
|
|
} |
|
|
|
|
this.$emit('panelChange', val, mode); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
triggerSelect(value: moment.Moment) { |
|
|
|
|