Skip to content

Commit 93227ea

Browse files
authored
Remove the getters caching warning (zh version)
1 parent 963297e commit 93227ea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/zh/guide/getters.md

-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ computed: {
1616

1717
Vuex 允许我们在 store 中定义“getter”(可以认为是 store 的计算属性)。
1818

19-
::: warning 注意
20-
从 Vue 3.0 开始,getter 的结果不再像计算属性一样会被缓存起来。这是一个已知的问题,将会在 3.1 版本中修复。详情请看 [PR #1878](https://github.com/vuejs/vuex/pull/1883)
21-
:::
22-
2319
Getter 接受 state 作为其第一个参数:
2420

2521
``` js

0 commit comments

Comments
 (0)