[Bug Report] clicks on buttons to expand tree nodes, sometimes triggering node-click events, and sometimes nothing

listen-lee
创建于
2017-05-22 09:22:17

Element UI version

1.3.3

OS/Browsers version

windows 7/ chrome

Vue version

2.3.3

Reproduction Link

https://jsfiddle.net/2j5jg6yp/

Steps to reproduce

点击 不同展开按钮图标,有时会alert出 数据,有时候正常

What is Expected?

点击展开按钮图标不会触发node-click事件,即不会弹出数据

What is actually happening?

点击 展开按钮图标,有时会alert出 数据,有时候正常

4条回答
element-bot
回复于
2017-05-22 09:22:21
#1

Translation of this issue:

Element UI version

1.3.3

OS/Browsers version

Windows 7/ Chrome

Vue version

2.3.3

Reproduction Link

https://jsfiddle.net/2j5jg6yp/

Steps to reproduce

Click on the different start button icon, sometimes alert out of data, sometimes normal

What is Expected?

Clicking the expand button icon does not trigger the node-click event, i.e. data will not pop up

What is actually happening?

Click the "expand" button icon, sometimes alert out of data, sometimes normal

listen-lee
回复于
2017-05-23 08:59:09
#2

没人遇到这种问题么,比如做下拉树的时候? 点击 图标有时会触发 node-click 事件

Leopoldthecoder
回复于
2017-05-29 06:58:20
#3

I did some test clicks in your demo and node-click does not trigger when the triangle icon itself is clicked.

listen-lee
回复于
2017-06-06 09:28:23
#4

@Leopoldthecoder
i just try it,it does trigger when the triangle icon itself is clicked 。
windows 7 / chrome 58.0.3029.110 (64-bit)

当前位于第1页,总计4 条回复

推荐相似问题

nav menu组件的default-active的值没有错,为什么下拉框没有自动展开?

Vue里面使用element ui的nav menu组件的问题。 default-active的值没有错,为什么下拉框没有自动展开? 上面的一个例子是正常的 https://jsfiddle.net/liubiner/2swy0e0q/
讨论数 3
element
创建时间:2017-05-22 09:17:39
讨论数 2
element
创建时间:2017-05-22 09:14:24

After the [Bug Report] webpack is packaged, check the mailbox in the form. If there is an uppercase letter, the check does not pass

Element UI version 1.3.3 OS/Browsers version chrome 最新 Vue version 2.3.3 Reproduction Link https://jsfiddle.net/pj71jkyw
讨论数 3
element
创建时间:2017-05-22 09:08:23

树形菜单设置默认选中一个节点(show-checkbox 为 FALSE )

ElementUI version 1.2.9 OS/Browers version Window 7 / Chrome 58.0.3029.110 (64-bit) Vue version 2.2.6 Reproduction Link
讨论数 2
element
创建时间:2017-05-22 09:03:25
讨论数 3
element
创建时间:2017-05-22 07:45:38

[Bug Report], input with search recommendations, does not display search recommendations under specific conditions

Element UI version 1.3.3 OS/Browsers version OSX Vue version 2.3.3 Reproduction Link https://jsfiddle.net/ycgxt13w/1/ St
讨论数 2
element
创建时间:2017-05-22 06:18:38

[Feature Request] table component need a prev in Table Solt

Existing Component Yes Component Name table Description table component need a prev in Table Solt to create my own scrol
讨论数 2
element
创建时间:2017-05-22 04:40:09

table组件需要一个prev的table solt

table组件需要一个prev的table solt
讨论数 2
element
创建时间:2017-05-22 04:36:34

[Feature Request] how to build single umd components like vux

Existing Component Yes Component Name all components Description how to build single umd components like vux
讨论数 2
element
创建时间:2017-05-22 03:31:47

怎么进行单个组件的 umd引用

怎么进行单个组件的umd引用, 没有找到相关打包命令 , 只有打包所有umd的 , 研究了好久没研究出来
讨论数 2
element
创建时间:2017-05-22 03:27:50