From 1be86d5d0bbd5ebcdeb4891ec1927b2dd27dca63 Mon Sep 17 00:00:00 2001 From: betavs <34408516+betavs@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:29:56 +0800 Subject: [PATCH] fix(notify): missing title parameter style exception (#2571) --- packages/vue/src/notify/src/pc.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue/src/notify/src/pc.vue b/packages/vue/src/notify/src/pc.vue index 6038c6126d..2343f69fb4 100644 --- a/packages/vue/src/notify/src/pc.vue +++ b/packages/vue/src/notify/src/pc.vue @@ -80,7 +80,7 @@ export default defineComponent({ } // Msg Content if (typeof message === 'string') { - notifyContent = h('p', { class: 'tiny-notify__content' }, message) + notifyContent = h('span', { class: 'tiny-notify__content' }, message) } else if (typeof message === 'function') { notifyContent = message(h, { vm: this,