Skip to content

Commit 7aa0561

Browse files
author
Alan Wang
authored
docs(en/zh/ja): remove duplicate warning (#2023)
1 parent b18718b commit 7aa0561

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

docs/guide/getters.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ If more than one component needs to make use of this, we have to either duplicat
1616

1717
Vuex allows us to define "getters" in the store. You can think of them as computed properties for stores.
1818

19-
::: warning WARNING
20-
As of Vue 3.0, the getter's result is **not cached** as the computed property does. This is a known issue that requires Vue 3.1 to be released. You can learn more at [PR #1878](https://github.com/vuejs/vuex/pull/1883).
21-
:::
22-
2319
::: warning WARNING
2420
As of Vue 3.0, the getter's result is **not cached** as the computed property does. This is a known issue that requires Vue 3.2 to be released. You can learn more at [PR #1883](https://github.com/vuejs/vuex/pull/1883).
2521
:::

docs/ja/guide/getters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ computed: {
1717
Vuex を利用するとストア内に "ゲッター" を定義することができます。それらをストアの算出プロパティと考えることができます。
1818

1919
::: warning 警告
20-
Vue 3.0 では、ゲッターの結果は算出プロパティのように**キャッシュされません**。これは既知の問題で、Vue 3.1 がリリースされる必要があります。詳細は [PR #1878](https://github.com/vuejs/vuex/pull/1883) をご確認ください。
20+
Vue 3.0 では、ゲッターの結果は算出プロパティのように**キャッシュされません**。これは既知の問題で、Vue 3.2 がリリースされる必要があります。詳細は [PR #1878](https://github.com/vuejs/vuex/pull/1883) をご確認ください。
2121
:::
2222

2323
ゲッターは第1引数として、state を受け取ります:

docs/zh/guide/getters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ computed: {
1717
Vuex 允许我们在 store 中定义“getter”(可以认为是 store 的计算属性)。
1818

1919
::: warning 注意
20-
从 Vue 3.0 开始,getter 的结果不再像计算属性一样会被缓存起来。这是一个已知的问题,将会在 3.1 版本中修复。详情请看 [PR #1878](https://github.com/vuejs/vuex/pull/1883)
20+
从 Vue 3.0 开始,getter 的结果不再像计算属性一样会被缓存起来。这是一个已知的问题,将会在 3.2 版本中修复。详情请看 [PR #1878](https://github.com/vuejs/vuex/pull/1883)
2121
:::
2222

2323
Getter 接受 state 作为其第一个参数:

0 commit comments

Comments
 (0)