This commit is contained in:
かっこかり 2024-08-17 00:45:38 +09:00 committed by GitHub
parent bc5f6106bc
commit b17d613750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ export const tutorialBodyPagesDef = [{
type: 'tutorial', type: 'tutorial',
title: i18n.ts._initialTutorial._timeline.title, title: i18n.ts._initialTutorial._timeline.title,
}, { }, {
icon: 'ti ti-user-add', icon: 'ti ti-user',
type: 'setup', type: 'setup',
title: i18n.ts.follow, title: i18n.ts.follow,
}, { }, {
@ -207,7 +207,7 @@ const componentsDef: Tuple<ComponentDef, typeof tutorialBodyPagesDef.length> = [
const page = ref(props.initialPage ?? 0); const page = ref(props.initialPage ?? 0);
const currentPageDef = computed(() => { const currentPageDef = computed(() => {
if (page.value > 0 && page.value < MAX_PAGE - 1) { if (page.value > 0 && page.value < MAX_PAGE) {
return tutorialBodyPagesDef[page.value - 1] ?? null; return tutorialBodyPagesDef[page.value - 1] ?? null;
} else { } else {
return null; return null;