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

[bug] 微信小程序转qq小程序时调用原生request接口的问题 #53

Closed
ltxhhz opened this issue Jun 6, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ltxhhz
Copy link

ltxhhz commented Jun 6, 2023

原本的代码中调用的是wx.request方法,但是编译为qq小程序时发现没有请求发出去,调试后发现这段中的函数没有调用
我当前的解决方案是把这段代码

if (actualApiName === 'request') return getOriginalRequest(global)

改为了

if (actualApiName === 'request') return getOriginalRequest(global) (obj)

我不知道这算不算具体的问题所在,不过还是麻烦你们看下

@lyfeyaj lyfeyaj added the bug Something isn't working label Jun 7, 2023
@lyfeyaj
Copy link
Member

lyfeyaj commented Jun 7, 2023

版本 @morjs/cli@1.0.53 中已修复

@lyfeyaj lyfeyaj closed this as completed Jun 7, 2023
@lyfeyaj
Copy link
Member

lyfeyaj commented Jun 7, 2023

版本 @morjs/cli@1.0.53 中已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants