Skip to content

Commit 4d35b8c

Browse files
authored
docs(Modal): add simplified descriptions (#7408)
close #7393
1 parent 040af82 commit 4d35b8c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

components/modal/index.en-US.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,5 @@ When you need context information (for example, using a globally registered comp
155155
});
156156
</script>
157157
```
158+
159+
> [App Package Component](/components/app) can be used to simplify the problem of `useModal` and other methods that need to manually implant contextHolder.

components/modal/index.zh-CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,5 @@ router.beforeEach((to, from, next) => {
159159
});
160160
</script>
161161
```
162+
163+
> 可通过 [App 包裹组件](/components/app-cn) 简化`useModal`等方法需要手动植入 contextHolder 的问题。

0 commit comments

Comments
 (0)