Liam
Results
1
issues of
Liam
changePanelDate(panel, type, increment, updateOtherPanel = true){ const current = new Date(this[`${panel}PanelDate`]); // 我不知道为什么这里要加一个if语句,把panel === 'left'也改成+increment就功能正常了 if (panel === 'left') { current[`set${type}`](current[`get${type}`](), 0); } else { current[`set${type}`](current[`get${type}`]() + increment); } this[`${panel}PanelDate`]...
Bug