Skip to content

Commit 09b89c1

Browse files
authored
Update 07-添加Effects.md
上个教程是使用静态数据,这个文档使用的是服务器数据,注释应该相应改一下
1 parent cbaa47c commit 09b89c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v1/zh-cn/tutorial/07-添加Effects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default {
7373
}, // 控制加载状态的 reducer
7474
showModal(){}, // 控制 Modal 显示状态的 reducer
7575
hideModal(){},
76-
// 使用静态数据返回
76+
// 使用服务器数据返回
7777
querySuccess(state, action){
7878
return {...state, ...action.payload, loading: false};
7979
},

0 commit comments

Comments
 (0)