Skip to content

Commit f5a42d3

Browse files
Jinjiangktsn
authored andcommitted
docs(zh): update (#1454)
1 parent 6e154c1 commit f5a42d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const store = new Vuex.Store({ ...options })
170170
171171
- `watch(fn: Function, callback: Function, options?: Object): Function`
172172
173-
 响应式地侦听 `fn` 的返回值,当值改变时调用回调函数。`fn` 接收 store 的 state 作为第一个参数,其 getter 作为第二个参数。最后接收一个可选的对象参数表示 Vue 的 `vm.$watch` 方法的参数。
173+
 响应式地侦听 `fn` 的返回值,当值改变时调用回调函数。`fn` 接收 store 的 state 作为第一个参数,其 getter 作为第二个参数。最后接收一个可选的对象参数表示 Vue 的 [`vm.$watch`](https://cn.vuejs.org/v2/api/#watch) 方法的参数。
174174
175175
 要停止侦听,调用此方法返回的函数即可停止侦听。
176176

0 commit comments

Comments
 (0)