element icon indicating copy to clipboard operation
element copied to clipboard

点击el-switch组件会同时触发两次click事件

Open levi1994 opened this issue 8 years ago • 1 comments

Element UI version 2.0.11

OS/Browsers version macOS 10.12.6 / chrome 63.0.3239.132

Vue version 2.5.13

Reproduction Link https://jsfiddle.net/1byqk4gn/2/

Steps to reproduce 引入el-switch组件 使用@click.native监听组件的click事件 点击组件,同时触发了两次click事件

What is Expected? 点击组件,只触发一次click事件

What is actually happening? 点击组件,触发了两次click事件

levi1994 avatar Feb 09 '18 06:02 levi1994

Hello, this issue has been closed because it does not conform to our issue requirements. Please submit issues with issue-generator. More info can be found in #3693.

element-bot avatar Feb 09 '18 06:02 element-bot