We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d2e0ec commit cf34af4Copy full SHA for cf34af4
docs/zh-cn/actions.md
@@ -47,7 +47,7 @@ function checkout ({ dispatch, state }, products) {
47
}
48
```
49
50
-请谨记一点,必须通过分发 mutations 来处理调用异步 API 的结果,而不是依赖返回值或者是传递回调来处理结果。基本原则就是:**Actions 除了分发 mutations 不能造成别的副作用**。
+请谨记一点,必须通过分发 mutations 来处理调用异步 API 的结果,而不是依赖返回值或者是传递回调来处理结果。基本原则就是:**Actions 除了分发 mutations 应当尽量避免其他副作用**。
51
52
### 在组件中调用 Actions
53
0 commit comments