Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix opposite meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
iFwu authored May 6, 2023
1 parent 2e88c42 commit 23ce0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langs/zh-cn/api/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ createEffect(() => {
你也可以不用立即执行计算,而是通过将 defer 选项设置为 true 来选择仅在更改时运行计算。
```js
// 现在会运行了
// 不会立即运行
createEffect(on(a, (v) => console.log(v), { defer: true }));

setA("new"); // 现在会运行了
Expand Down

0 comments on commit 23ce0bf

Please sign in to comment.