This commit is contained in:
梁灏 2018-09-18 11:33:58 +08:00
parent d946403532
commit 623b9dde58

View file

@ -342,7 +342,10 @@
if (!this.splitPanels){
const otherPanel = panel === 'left' ? 'right' : 'left';
this[`${otherPanel}PanelDate`] = value;
this.changePanelDate(otherPanel, 'Month', 1, false);
const increment = otherPanel === 'left' ? -1 : 1; // #3973
this.changePanelDate(otherPanel, 'Month', increment, false);
}
},
handleRangePick (val, type) {