Skip to content

Commit 7adfb64

Browse files
authored
fix: shorten variable names to avoid code block overflow (#3221)
1 parent 96ec3f9 commit 7adfb64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/api/sfc-script-setup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -527,10 +527,10 @@ You can use `@vue-generic` the directive to pass in explicit types, for when the
527527
```vue
528528
<template>
529529
<!-- @vue-generic {import('@/api').Actor} -->
530-
<ApiSelect v-model="selectedPeopleIds" endpoint="/api/actors" id-prop="actorId" />
530+
<ApiSelect v-model="peopleIds" endpoint="/api/actors" id-prop="actorId" />
531531
532532
<!-- @vue-generic {import('@/api').Genre} -->
533-
<ApiSelect v-model="selectedGenreIds" endpoint="/api/genres" id-prop="genreId" />
533+
<ApiSelect v-model="genreIds" endpoint="/api/genres" id-prop="genreId" />
534534
</template>
535535
```
536536

0 commit comments

Comments
 (0)