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

调用图片上传组件报错 #35

Open
myjf007 opened this issue Jan 12, 2019 · 6 comments
Open

调用图片上传组件报错 #35

myjf007 opened this issue Jan 12, 2019 · 6 comments

Comments

@myjf007
Copy link

myjf007 commented Jan 12, 2019

Cannot read property 'mode' of undefined;at api onAppEnterBackground callback function

@switer
Copy link
Member

switer commented Jan 12, 2019

这是业务逻辑错误?

@myjf007
Copy link
Author

myjf007 commented Jan 12, 2019

不是,我只要调用了wx.uploadFile或wx.makePhoneCall都会报这个错,在开发工具下
上传文件则是弹出文件选择窗口就会报错,打电话则不是不管取消还是确定都会报

@myjf007
Copy link
Author

myjf007 commented Jan 12, 2019

1547277204888

@myjf007
Copy link
Author

myjf007 commented Jan 12, 2019

1547277616978

@switer
Copy link
Member

switer commented Jan 12, 2019

看起来是开发者工具内的问题,真机会吗?可以到微信小程序的社区提问下:https://developers.weixin.qq.com/

@myjf007
Copy link
Author

myjf007 commented Jan 14, 2019

同样的代码,同样的开发工具,如果用Page()又不会报错

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