Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
totzcc opened this issue Jul 14, 2017 · 1 comment
Closed

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

totzcc opened this issue Jul 14, 2017 · 1 comment
Labels

Comments

@totzcc
Copy link

totzcc commented Jul 14, 2017

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>
@totzcc
Copy link
Author

totzcc commented Jul 14, 2017

Call twice gif

Call twice gif

Call once gif

Call once gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants