Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit d22b446

Browse files
VSirrrJustineo
VSirrr
andauthored
fix: add '执行' text (#371)
Co-authored-by: GU Yiling <justice360@gmail.com>
1 parent 72bf617 commit d22b446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/computed-watch-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ type StopHandle = () => void
8686

8787
## `watch`
8888

89-
`watch` API 与选项式 API [this.$watch](./instance-methods.html#watch) (以及相应的 [watch](./options-data.html#watch) 选项) 完全等效。`watch` 需要侦听特定的 data 源,并在单独的回调函数中副作用。默认情况下,它也是惰性的——即,回调是仅在侦听源发生更改时调用
89+
`watch` API 与选项式 API [this.$watch](./instance-methods.html#watch) (以及相应的 [watch](./options-data.html#watch) 选项) 完全等效。`watch` 需要侦听特定的数据源,并在单独的回调函数中执行副作用。默认情况下,它也是惰性的——即回调仅在侦听源发生更改时调用
9090

9191
- 与 [watchEffect](#watcheffect) 比较,`watch` 允许我们:
9292

0 commit comments

Comments
 (0)