网上寻了个小程序商城的代码包,导入到开发工具后,修改第三方服务器配置和appid等东西,弄完后随手点了一下登录,然后就在“正在登入”转圈界面卡住了,看了一下errors显示,里面内容如下:
thirdScriptError
Cannot read property ‘session_key’ of undefined;at App getUserSessionKey function;at api request success callback function
TypeError: Cannot read property ‘session_key’ of undefined
at success (http://127.0.0.1:16547/appservice/app.js:129:65)
at Function.o.
at http://127.0.0.1:16547/appservice/__dev__/WAService.js:1:107717
at C (http://127.0.0.1:16547/appservice/__dev__/WAService.js:1:438737))
at i.
at i.emit (http://127.0.0.1:16547/appservice/__dev__/WAService.js:1:485476))
at Ii (http://127.0.0.1:16547/appservice/__dev__/WAService.js:1:738306))
at http://127.0.0.1:16547/appservice/__dev__/WAService.js:1:739527
at http://127.0.0.1:16547/appservice/__dev__/WAService.js:1:508187
at n (http://127.0.0.1:16547/appservice/__dev__/asdebug.js:1:3175))
也百度了不少东西出来,但是按照上面的一些描述去查看,要么不得要领,要么就完全没办法套上去看,还好最后找到了这里,希望有高手可以指点一下如何排除这个故障!