Iview: table中的Poptip 如何防止冒泡

Created on 23 Jul 2017  ·  3Comments  ·  Source: iview/iview



iView 版本号

操作系统/浏览器 版本号

Vue 版本号

能够复现问题的在线示例(bug 相关不提供在线示例将直接 close)


复现步骤

问题现象,以及你期望的结果是怎样的?

table每一行有一个点击事件,但是每行都有几格绑了poptip气泡框。
若用以下代码阻止冒泡则气泡框失效。

 <Poptip title="提示标题" content="提示内容">
        <Button @click.stop="">click 激活</Button>
  </Poptip>

你估计可能的原因是什么(选填)?

阻止气泡框事件冒泡。

Most helpful comment

现在的方法是在poptip外层阻止冒泡。

All 3 comments

现在的方法是在poptip外层阻止冒泡。

Update to the latest version and try again.

@hellomrbigshot ButtonGroup中的Button使用.stop同样不生效,在ButtonGroup外面一层使用就生效了。。。

Was this page helpful?
0 / 5 - 0 ratings

Related issues

istommao picture istommao  ·  3Comments

lichinlichin picture lichinlichin  ·  3Comments

lvqingan picture lvqingan  ·  3Comments

lvqingan picture lvqingan  ·  3Comments

ai116458960 picture ai116458960  ·  3Comments