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

触发action时,数据被替换成了event对象 #2598

Closed
ZhiguangXiong opened this issue Mar 27, 2019 · 3 comments
Closed

触发action时,数据被替换成了event对象 #2598

ZhiguangXiong opened this issue Mar 27, 2019 · 3 comments

Comments

@ZhiguangXiong
Copy link

问题描述

触发 redux action时,传入的data被替换为了event对象

复现步骤
企业微信截图_1058b7f2-76ab-4a12-8cc3-712489eae87c
企业微信截图_117d9f52-b955-4ace-90d9-878015ce4ad9
企业微信截图_98bd93a7-c3c1-4c3e-a495-a77dc8833e53
企业微信截图_8619913a-60af-4546-bec2-2b591bbb3004

报错信息
企业微信截图_3fc09d56-40db-4ae2-8544-de5c49ac982e

系统信息

Taro CLI 1.2.7 environment info:
System:
OS: macOS High Sierra 10.13.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.6.0 - /usr/local/bin/node
npm: 5.3.0 - /usr/local/bin/npm
npmPackages:
@tarojs/async-await: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/components: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/plugin-babel: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/plugin-csso: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/plugin-sass: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/plugin-uglifyjs: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/redux: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/redux-h5: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/router: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/taro: ^1.0.3 => 1.0.3
@tarojs/taro-h5: ^1.0.0-beta.24 => 1.0.0-beta.26
@tarojs/taro-weapp: ^1.0.3 => 1.0.3
@tarojs/webpack-runner: ^1.0.0-beta.24 => 1.0.0-beta.26
eslint-config-taro: ^1.0.0-beta.24 => 1.0.0-beta.26
eslint-plugin-taro: ^1.0.0-beta.24 => 1.0.0-beta.26

@taro-bot
Copy link

taro-bot bot commented Mar 27, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@Garfield550
Copy link
Collaborator

由于你的 Taro 版本大多都是 1.0.0-beta.26,我建议你先运行一下 taro update selftaro update project 更新一下 Taro 版本。

@ZhiguangXiong
Copy link
Author

由于你的 Taro 版本大多都是 1.0.0-beta.26,我建议你先运行一下 taro update selftaro update project 更新一下 Taro 版本。

taro update project更新版本后,不再报错,多谢

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

No branches or pull requests

2 participants