Skip to content

Commit

Permalink
docs(README): synchronize limitation text and code sample (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
jspoetry committed May 23, 2021
1 parent 83de736 commit ebd30c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ app2.component('Bar', Bar) // equivalent to Vue.use('Bar', Bar)

<details>
<summary>
⚠️ <code>toRefs(props.foo.bar)</code> will incorrectly warn when acessing nested levels of props.
⚠️ <code>isReactive(props.foo.bar)</code> will return false.
⚠️ <code>toRefs(props.foo)</code> will incorrectly warn when accessing nested levels of props. <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;⚠️ <code>isReactive(props.foo)</code> will return false.
</summary>

```ts
Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ watch(

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

```ts
Expand Down

0 comments on commit ebd30c7

Please sign in to comment.