pull/2275/head
parent
e11d04e76e
commit
ebb882c129
|
@ -435,7 +435,7 @@ const RangeCalendar = {
|
|||
const newValue = [sValue[0], value || sValue[1]];
|
||||
this.__emit('panelChange', newValue, newMode);
|
||||
const newState = {
|
||||
sPanelTriggerSource: 'start',
|
||||
sPanelTriggerSource: 'end',
|
||||
};
|
||||
if (!hasProp(this, 'mode')) {
|
||||
newState.sMode = newMode;
|
||||
|
@ -494,7 +494,7 @@ const RangeCalendar = {
|
|||
// Adjust month if date not align
|
||||
if (
|
||||
!showTimePicker &&
|
||||
panelTriggerSource !== 'end' &&
|
||||
panelTriggerSource === 'start' &&
|
||||
mode[0] === 'date' &&
|
||||
mode[1] === 'date' &&
|
||||
endValue.isSame(value[0], 'month')
|
||||
|
|
Loading…
Reference in New Issue