fix
This commit is contained in:
parent
633dd82475
commit
c2ecfd8d35
|
@ -208,7 +208,7 @@ const page = ref(props.initialPage ?? 0);
|
|||
|
||||
const currentPageDef = computed(() => {
|
||||
if (page.value > 0 && page.value < MAX_PAGE - 1) {
|
||||
return tutorialBodyPagesDef[page.value - 1];
|
||||
return tutorialBodyPagesDef[page.value - 1] ?? null;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue