This commit is contained in:
Ling53666
2025-08-18 09:11:51 +08:00
commit 02554225da
2516 changed files with 133155 additions and 0 deletions

View File

@ -0,0 +1,18 @@
function checkShowNext(current, items) {
return current < items.length - 1;
}
function checkShowPrev(current, items) {
return current > 0;
}
function checkShowJump(current, items) {
return current === 0 && items.length > 1;
}
function checkShowKnow(current, items) {
return current === items.length - 1;
}
export default {
checkShowNext: checkShowNext,
checkShowPrev: checkShowPrev,
checkShowJump: checkShowJump,
checkShowKnow: checkShowKnow
};