]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: link
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 12 Jun 2025 14:38:39 +0000 (16:38 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 12 Jun 2025 14:38:39 +0000 (16:38 +0200)
Close #2990

packages/docs/zh/core-concepts/index.md

index 44fe57ba8f4ba861f1b5702026d3f5cee4f94169..12960e68d7ddbc7cc067ea80fc85ba0a14001b89 100644 (file)
@@ -135,7 +135,7 @@ import { computed } from 'vue'
 
 const store = useCounterStore()
 // ❌ 下面这部分代码不会生效,因为它的响应式被破坏了
-// 它和解构 `props` 的操作是一样的
+// 与 reactive 相同: https://vuejs.org/guide/essentials/reactivity-fundamentals.html#limitations-of-reactive
 const { name, doubleCount } = store // [!code warning]
 name // 将会一直是 "Eduardo" // [!code warning]
 doubleCount // 将会一直是 0 // [!code warning]