查上上月和查上上上月改为基于当前显示月的偏移导航
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
4
main.js
4
main.js
@@ -22403,8 +22403,8 @@ const workDayData = {
|
|||||||
});
|
});
|
||||||
const buttonNext = createQueryButton('查下月', () => navigateMonth(-1));
|
const buttonNext = createQueryButton('查下月', () => navigateMonth(-1));
|
||||||
const buttonPrev = createQueryButton('查上月', () => navigateMonth(1));
|
const buttonPrev = createQueryButton('查上月', () => navigateMonth(1));
|
||||||
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
|
const button2 = createQueryButton('查上上月', () => navigateMonth(2));
|
||||||
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
|
const button3 = createQueryButton('查上上上月', () => navigateMonth(3));
|
||||||
|
|
||||||
// 获取要将按钮添加到其中的容器
|
// 获取要将按钮添加到其中的容器
|
||||||
let container = document.getElementById('seclevelmenu');
|
let container = document.getElementById('seclevelmenu');
|
||||||
|
|||||||
@@ -480,8 +480,8 @@
|
|||||||
});
|
});
|
||||||
const buttonNext = createQueryButton('查下月', () => navigateMonth(-1));
|
const buttonNext = createQueryButton('查下月', () => navigateMonth(-1));
|
||||||
const buttonPrev = createQueryButton('查上月', () => navigateMonth(1));
|
const buttonPrev = createQueryButton('查上月', () => navigateMonth(1));
|
||||||
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
|
const button2 = createQueryButton('查上上月', () => navigateMonth(2));
|
||||||
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
|
const button3 = createQueryButton('查上上上月', () => navigateMonth(3));
|
||||||
|
|
||||||
// 获取要将按钮添加到其中的容器
|
// 获取要将按钮添加到其中的容器
|
||||||
let container = document.getElementById('seclevelmenu');
|
let container = document.getElementById('seclevelmenu');
|
||||||
|
|||||||
Reference in New Issue
Block a user