Skip to content

Commit

Permalink
[docs] 部分文档大纲调整
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang-Wei-666 committed Aug 16, 2023
1 parent a61293e commit 954100f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mixte/src/deepClone/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
outline: [3,4]
outline: [1,4]
---

- 创建传入值的深拷贝
Expand Down
2 changes: 1 addition & 1 deletion packages/mixte/src/deepMerge/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
outline: [3,4]
outline: [1,4]
---

- 深拷贝合并一个或多个来源对象 `sources` 的属性到目标对象 `target`
Expand Down
4 changes: 4 additions & 0 deletions packages/use/src/wheneverEffectScope/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
outline: [1,3]
---

- 监听传入值为 truthy 时, 创建一个 effect 作用域
- 当传入值改变但依旧为 truthy 时, 会停止之前创建的 effect 作用域并创建一个新的 effect 作用域
- 当值变为 falsy 时, 将会停止之前创建的 effect 作用域
Expand Down

0 comments on commit 954100f

Please sign in to comment.