This commit is contained in:
kakkokari-gtyih 2024-08-13 13:40:43 +09:00
parent dc4e2ea996
commit bc5f6106bc
1 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ type ComponentDef = {
* *
* メタデータは上の方で定義しています * メタデータは上の方で定義しています
*/ */
const componentsDef = [ const componentsDef: Tuple<ComponentDef, typeof tutorialBodyPagesDef.length> = [
{ component: XProfileSettings }, { component: XProfileSettings },
{ component: XNote, props: { phase: 'aboutNote' } }, { component: XNote, props: { phase: 'aboutNote' } },
{ component: XNote, props: { phase: 'howToReact' } }, { component: XNote, props: { phase: 'howToReact' } },
@ -201,7 +201,7 @@ const componentsDef = [
{ component: XPostNote }, { component: XPostNote },
{ component: XSensitive }, { component: XSensitive },
{ component: XPrivacySettings }, { component: XPrivacySettings },
] as const satisfies Tuple<ComponentDef, typeof tutorialBodyPagesDef.length>; ];
// eslint-disable-next-line vue/no-setup-props-destructure // eslint-disable-next-line vue/no-setup-props-destructure
const page = ref(props.initialPage ?? 0); const page = ref(props.initialPage ?? 0);