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

Commit

Permalink
Merge pull request #254 from iFwu/patch-1
Browse files Browse the repository at this point in the history
fix opposite meaning in zh-CN api doc
  • Loading branch information
davedbase authored Oct 9, 2023
2 parents b14166c + 23ce0bf commit 8a1d5cc
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 8a1d5cc

Please sign in to comment.