Skip to content

Commit 7a63b05

Browse files
lyz6669Justineo
andauthored
docs(sfc): translate sfc-script-setup page (#1089)
* docs(sfc): translate sfc-script-setup page --------- Co-authored-by: GU Yiling <[email protected]>
1 parent 3033710 commit 7a63b05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/sfc-script-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,8 @@ defineProps<{
521521
}>()
522522
</script>
523523
```
524-
<!-- TODO: translation -->
525-
You can use `@vue-generic` the directive to pass in explicit types, for when the type cannot be inferred:
524+
525+
当无法自动推断泛型组件的具体类型时,可使用指令 `@vue-generic` 来显式指定:
526526

527527
```vue
528528
<template>

0 commit comments

Comments
 (0)