Skip to content

Commit 77f22cc

Browse files
authored
Update index.md
Make sure Composition API Users are aware of it!!!!
1 parent 0b603e5 commit 77f22cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/api/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,9 @@ setData(data: Record<string, any>): Promise<void>
15261526
15271527
`setData` does not allow setting new properties that are not defined in the component.
15281528
1529+
::: warning
15291530
Also, notice that `setData` does not modify composition API `setup()` data.
1531+
:::
15301532
15311533
`Component.vue`:
15321534

0 commit comments

Comments
 (0)