Skip to content

Commit 42952b7

Browse files
author
Light
authored
docs(notification): Fix hooks description in demo (#7191)
1 parent 07c3619 commit 42952b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/notification/demo/hook.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title:
88

99
## zh-CN
1010

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

1313
## en-US
1414

0 commit comments

Comments
 (0)