From db9a5e6bd69e60adfcbc24b62e6857075022df81 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Fri, 24 Sep 2021 09:21:38 +0800 Subject: [PATCH] fix(components): [el-popover] fix the title renderIf type error (#3552) --- packages/components/popover/src/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/popover/src/index.vue b/packages/components/popover/src/index.vue index 18304f126b..707d567cf0 100644 --- a/packages/components/popover/src/index.vue +++ b/packages/components/popover/src/index.vue @@ -86,7 +86,7 @@ export default defineComponent({ const trigger = $slots.reference ? $slots.reference() : null const title = renderIf( - this.title, + !!this.title, 'div', _hoist, toDisplayString(this.title),