提交
This commit is contained in:
18
甲情_甲意/miniprogram/node_modules/antd-mini/less/GuideTour/index.sjs
generated
vendored
Normal file
18
甲情_甲意/miniprogram/node_modules/antd-mini/less/GuideTour/index.sjs
generated
vendored
Normal 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
|
||||
};
|
Reference in New Issue
Block a user