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

使用vant组件 绑定click事件无效 #7182

Closed
Smi1e96 opened this issue Jul 28, 2020 · 1 comment · Fixed by #7213 or #7257
Closed

使用vant组件 绑定click事件无效 #7182

Smi1e96 opened this issue Jul 28, 2020 · 1 comment · Fixed by #7213 or #7257
Labels
F-react Framework - React P-1 High, patch T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@Smi1e96
Copy link

Smi1e96 commented Jul 28, 2020

相关平台

微信小程序

复现仓库

https://github.com/Smi1e96/Taro3
小程序基础库: 2.10.3
使用框架: React

复现步骤

image

下载【源码】运行即可复现
@4055 不同

期望结果

点击按钮可以触发事件

实际结果

无法绑定click事件

环境信息

  Taro CLI 3.0.5 environment info:
    System:
      OS: macOS 10.15.6
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 12.18.1 - ~/.nvm/versions/node/v12.18.1/bin/node
      Yarn: 1.22.4 - ~/.nvm/versions/node/v12.18.1/bin/yarn
      npm: 6.14.5 - ~/.nvm/versions/node/v12.18.1/bin/npm
    npmPackages:
      @tarojs/components: 3.0.2 => 3.0.2 
      @tarojs/mini-runner: 3.0.2 => 3.0.2 
      @tarojs/react: 3.0.2 => 3.0.2 
      @tarojs/runtime: 3.0.2 => 3.0.2 
      @tarojs/taro: 3.0.2 => 3.0.2 
      @tarojs/webpack-runner: 3.0.2 => 3.0.2 
      babel-preset-taro: 3.0.2 => 3.0.2 
      react: ^16.10.0 => 16.13.1 
@hemengke1997
Copy link

我也遇到这个问题了 taro包都是最新的 @Chen-jj
"@babel/runtime": "^7.7.7",
"@tarojs/components": "3.0.6",
"@tarojs/react": "3.0.6",
"@tarojs/redux": "^2.2.10",
"@tarojs/runtime": "3.0.6",
"@tarojs/taro": "3.0.6"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React P-1 High, patch T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
3 participants