Skip to content

Commit 9331a38

Browse files
authored
fix: json format quotation (#1071)
1 parent 9657a47 commit 9331a38

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/guide/migration/data-option.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ In Vue 2.x, the resulting `$data` is:
9494

9595
```json
9696
{
97-
user: {
98-
id: 2,
99-
name: 'Jack'
97+
"user": {
98+
"id": 2,
99+
"name": "Jack"
100100
}
101101
}
102102
```
@@ -105,8 +105,8 @@ In 3.0, the result will be:
105105

106106
```json
107107
{
108-
user: {
109-
id: 2
108+
"user": {
109+
"id": 2
110110
}
111111
}
112112
```

0 commit comments

Comments
 (0)