-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.4.8
Environment
mac10.15.1 、谷歌78.0.3904.108、vue2.6
Reproduction link
https://www.antdv.com/components/tooltip-cn/
Steps to reproduce
组件定义
const Item = {
methods: {
handleclick (event) {
this.$emit('click')
}
},
render (h) {
return (
<div on={{ click: this.handleclick }}>
{ this.$slots.default }
</div>
)
}
}
const Item2 = {
functional: true,
render (h, ctx) {
return (
<Item><template slot="default">{ ctx.scopedSlots.default() }</template></Item>
)
}
}
使用
<a-tooltip trigger="click">
<template slot="title">你站的越近,看到的就越少。</template>
<Item2>惊天魔盗团</Item2>
</a-tooltip>
What is expected?
正常使用
What is actually happening?
闪烁,无法点开