Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 891f5ae

Browse files
committedApr 12, 2025·
fix: shorten variable names to avoid code block overflow
1 parent 96ec3f9 commit 891f5ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎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)
Please sign in to comment.