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

获取不到openId怎么回事? #3

Open
tydqcjj opened this issue Dec 17, 2018 · 1 comment
Open

获取不到openId怎么回事? #3

tydqcjj opened this issue Dec 17, 2018 · 1 comment

Comments

@tydqcjj
Copy link

tydqcjj commented Dec 17, 2018

云函数都上传部署了,但还是报错。
VM156:1 thirdScriptError Cannot read property 'openId' of undefined;at pages/homepage/homepage onLoad function;at api cloud.callFunction complete callback function TypeError: Cannot read property 'openId' of undefined at Function.complete (http://127.0.0.1:22958/appservice/pages/homepage/homepage.js:26:32) at Function.<anonymous> (http://127.0.0.1:22958/appservice/__dev__/WAService.js:1:101815) at http://127.0.0.1:22958/appservice/__dev__/WAService.js:1:192859 at i (http://127.0.0.1:22958/appservice/__dev__/WAService.js:1:192568) at http://127.0.0.1:22958/appservice/__dev__/WAService.js:1:192837 at s (http://127.0.0.1:22958/appservice/__dev__/WAService.js:1:131968) at Object.t.invokeFailCompleteCallbacks (http://127.0.0.1:22958/appservice/__dev__/WAService.js:1:132171) at http://127.0.0.1:22958/appservice/__dev__/WAService.js:1:173140 at <anonymous>

应该是云函数没有成功执行。请问这是什么原因?

@weiping1988
Copy link

同问

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