Skip to content

Commit ebd30c7

Browse files
authored
docs(README): synchronize limitation text and code sample (#701)
1 parent 83de736 commit ebd30c7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ app2.component('Bar', Bar) // equivalent to Vue.use('Bar', Bar)
427427

428428
<details>
429429
<summary>
430-
⚠️ <code>toRefs(props.foo.bar)</code> will incorrectly warn when acessing nested levels of props.
431-
⚠️ <code>isReactive(props.foo.bar)</code> will return false.
430+
⚠️ <code>toRefs(props.foo)</code> will incorrectly warn when accessing nested levels of props. <br>
431+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;⚠️ <code>isReactive(props.foo)</code> will return false.
432432
</summary>
433433

434434
```ts

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ watch(
410410

411411
<details>
412412
<summary>
413-
⚠️ 当使用 <code>toRefs</code> 访问深层属性对象 (如 <code>toRefs(props.foo.bar)</code> 时将会得到不正确的警告。
414-
⚠️ <code>isReactive(props.foo.bar)</code> 将会返回 false。
413+
⚠️ 当使用 <code>toRefs</code> 访问深层属性对象 (如 <code>toRefs(props.foo)</code> 时将会得到不正确的警告。<br>
414+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;⚠️ <code>isReactive(props.foo)</code> 将会返回 false。
415415
</summary>
416416

417417
```ts

0 commit comments

Comments
 (0)