docs(Modal): add simplified descriptions (#7408)

close #7393
This commit is contained in:
selicens 2024-04-19 19:19:33 +08:00 committed by GitHub
parent 040af82eb9
commit 4d35b8caa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -155,3 +155,5 @@ When you need context information (for example, using a globally registered comp
});
</script>
```
> [App Package Component](/components/app) can be used to simplify the problem of `useModal` and other methods that need to manually implant contextHolder.

View File

@ -159,3 +159,5 @@ router.beforeEach((to, from, next) => {
});
</script>
```
> 可通过 [App 包裹组件](/components/app-cn) 简化`useModal`等方法需要手动植入 contextHolder 的问题。