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

小程序真机调试 redux-saga报错 dispatch不生效 开发工具没问题 2.11.3 #6952

Closed
benmi opened this issue Jul 7, 2020 · 1 comment
Assignees
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x

Comments

@benmi
Copy link

benmi commented Jul 7, 2020

相关平台

微信小程序

小程序基础库: 2.11.3
使用框架: React

复现步骤

线上运行的小程序四月下旬就打不开了,
小程序开发工具没问题,真机运行不可以
···
redux-saga error: uncaught at _callee3
at _callee3
at _callee6
at takeEvery(home/wxLogs, _callee)
at _callee
at _callee
Error: [object Object]
at https://usr/app-service.js:12928:17
at https://usr/app-service.js:12024:26
at onError (https://usr/app-service.js:12929:11)
at sagaWithCatch$ (https://usr/app-service.js:12496:13)
at tryCatch (https://usr/app-service.js:15619:40)
at Generator.invoke [as _invoke] (https://usr/app-service.js:15838:22)
at Generator.prototype. [as throw] (https://usr/app-service.js:15667:21)
at next (https://usr/app-service.js:17584:32)
at Object.currCb [as cont] (https://usr/app-service.js:17683:7)
···
原来版本是1.3.42 后来升级了2.2.8还不可以
线上运行的小程序四月下旬就打不开了,
小程序开发工具没问题,真机运行不可以

期望结果

在真机运行环境中接口dispatch正常使用

实际结果

在真机运行环境中接口访问不了

环境信息

  Taro CLI 2.2.8 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 10.14.2 - C:\Program Files\nodejs\node.EXE
      npm: 6.8.0 - C:\Program Files\nodejs\npm.CMD

@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x labels Jul 7, 2020
@Chen-jj
Copy link
Contributor

Chen-jj commented Jul 7, 2020

提供一下可复现代码吧。

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

No branches or pull requests

3 participants