Skip to content

Weex with vue 2.4.1, the @click will be call twice at html5 #6109

@totzcc

Description

@totzcc

Version

2.4.1

Reproduction link

https://github.com/totzcc/weex-tabbar/tree/bugreport

Steps to reproduce

  1. First you must set up Weex Development Environment
  2. clone project and *** switch to bugreport branch ***, and run it
git clone https://github.com/totzcc/weex-tabbar.git
git checkout bugreport
cnpm install
./start
  1. visit http://localhost:12580/web on chrome and click mobile device toolbar in web developer Tools
  2. click tab1 text

What is expected?

The click function will be call twice

What is actually happening?

only call once


It's work at Vue 2.3.4.

Today I reinstall package.json, It auto upgrade to 2.4.1

I modify web/index.html script to be reproduce my problem

<script src="https://cdn.bootcss.com/vue/2.4.1/vue.runtime.min.js" type="text/javascript" charset="utf-8"></script>

You can use this code to compare these two differences

<script src="https://cdn.bootcss.com/vue/2.3.4/vue.runtime.min.js" type="text/javascript" charset="utf-8"></script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions