fixed #3973
This commit is contained in:
parent
d946403532
commit
623b9dde58
1 changed files with 4 additions and 1 deletions
|
@ -342,7 +342,10 @@
|
||||||
if (!this.splitPanels){
|
if (!this.splitPanels){
|
||||||
const otherPanel = panel === 'left' ? 'right' : 'left';
|
const otherPanel = panel === 'left' ? 'right' : 'left';
|
||||||
this[`${otherPanel}PanelDate`] = value;
|
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) {
|
handleRangePick (val, type) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue