This commit is contained in:
oneao committed 2025-09-11 21:54:25 +08:00
1 parent 6d4f1ee402
commit 14f9844430
4 files changed
+27 -21

No files matched your search

+2 -4
View File
@@ -6,12 +6,10 @@ const notification = useNotification()
function showCustomMessage() {
notification.success({
title: '自定义消息',
title: '测试',
subTitle: '测试2222222222222222222222222222222222222222222222222',
message: () =>
h('div', { style: { color: 'red', position: 'relative' } }, [
h('p', {}, '这里是自定义内容,可以是任意 VNode'),
h('strong', {}, '加粗文本'),
// 右下角按钮容器
h(
'div',
{