diff --git a/components/modal/index.en-US.md b/components/modal/index.en-US.md index b0d141f73..1b66a6b4c 100644 --- a/components/modal/index.en-US.md +++ b/components/modal/index.en-US.md @@ -155,3 +155,5 @@ When you need context information (for example, using a globally registered comp }); ``` + +> [App Package Component](/components/app) can be used to simplify the problem of `useModal` and other methods that need to manually implant contextHolder. diff --git a/components/modal/index.zh-CN.md b/components/modal/index.zh-CN.md index 444c7e881..931649b1b 100644 --- a/components/modal/index.zh-CN.md +++ b/components/modal/index.zh-CN.md @@ -159,3 +159,5 @@ router.beforeEach((to, from, next) => { }); ``` + +> 可通过 [App 包裹组件](/components/app-cn) 简化`useModal`等方法需要手动植入 contextHolder 的问题。