fix
This commit is contained in:
parent
dc4e2ea996
commit
bc5f6106bc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue