Browse Source

docs(notification): Fix hooks description in demo (#7191)

feat-4.1
Light 11 months ago committed by GitHub
parent
commit
42952b713a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/notification/demo/hook.vue

2
components/notification/demo/hook.vue

@ -8,7 +8,7 @@ title:
## zh-CN
通过 `notification.useNotification` 创建支持读取 context `contextHolder`请注意我们推荐通过顶层注册的方式代替 `message` 静态方法因为静态方法无法消费上下文因而 ConfigProvider 的数据也不会生效
通过 `notification.useNotification` 创建支持读取 context `contextHolder`请注意我们推荐通过顶层注册的方式代替 `notification` 静态方法因为静态方法无法消费上下文因而 ConfigProvider 的数据也不会生效
## en-US

Loading…
Cancel
Save