diff --git a/README.md b/README.md index 7477b3d6..bccec453 100644 --- a/README.md +++ b/README.md @@ -427,8 +427,8 @@ app2.component('Bar', Bar) // equivalent to Vue.use('Bar', Bar)
-⚠️ toRefs(props.foo.bar) will incorrectly warn when acessing nested levels of props. -⚠️ isReactive(props.foo.bar) will return false. +⚠️ toRefs(props.foo) will incorrectly warn when accessing nested levels of props.
+     ⚠️ isReactive(props.foo) will return false.
```ts diff --git a/README.zh-CN.md b/README.zh-CN.md index 5175ac0e..b2686a67 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -410,8 +410,8 @@ watch(
-⚠️ 当使用 toRefs 访问深层属性对象 (如 toRefs(props.foo.bar) 时将会得到不正确的警告。 -⚠️ isReactive(props.foo.bar) 将会返回 false。 +⚠️ 当使用 toRefs 访问深层属性对象 (如 toRefs(props.foo) 时将会得到不正确的警告。
+     ⚠️ isReactive(props.foo) 将会返回 false。
```ts