mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 04:27:41 +08:00
fix tooltip bug
This commit is contained in:
parent
ce191c946c
commit
01570ca308
@ -148,7 +148,8 @@ export default {
|
||||
render (h) {
|
||||
const { $props, $data, $slots } = this
|
||||
const { prefixCls, openClassName, getPopupContainer } = $props
|
||||
const children = ($slots.default || []).filter(c => c.tag || c.text.trim() !== '')
|
||||
let children = ($slots.default || []).filter(c => c.tag || c.text.trim() !== '')
|
||||
children = children.length === 1 ? children[0] : children
|
||||
let sVisible = $data.sVisible
|
||||
// Hide tooltip when there is no title
|
||||
if (!hasProp(this, 'visible') && this.isNoTitle()) {
|
||||
|
Loading…
Reference in New Issue
Block a user