Skip to content

Commit 8822df4

Browse files
authored
fix instead tab to 2 spaces (#858)
1 parent f9828e0 commit 8822df4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/guide/composition-api-setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ If you need to destructure your props, you can do this by utilizing the [toRefs]
4242
import { toRefs } from 'vue'
4343

4444
setup(props) {
45-
const { title } = toRefs(props)
45+
const { title } = toRefs(props)
4646

47-
console.log(title.value)
47+
console.log(title.value)
4848
}
4949
```
5050

@@ -56,9 +56,9 @@ If `title` is an optional prop, it could be missing from `props`. In that case,
5656
import { toRef } from 'vue'
5757

5858
setup(props) {
59-
const title = toRef(props, 'title')
59+
const title = toRef(props, 'title')
6060

61-
console.log(title.value)
61+
console.log(title.value)
6262
}
6363
```
6464

0 commit comments

Comments
 (0)