总是偶发性的报下面错误,怎么搞!!!求救
VM15942:1 thirdScriptError Cannot read property 'openid' of undefined;at pages/index/index onLoad function ;at api request success callback function TypeError: Cannot read property 'openid' of undefined at success (http: //127.0.0.1:20272/appservice/pages/index/index.js:32:50) at Function. function .u.(anonymous function ) (http: //127.0.0.1:20272/appservice/__dev__/WAService.js:5:26985) at Object.success (http: //127.0.0.1:20272/appservice/__dev__/WAService.js:5:3530) at s.<anonymous> (http: //127.0.0.1:20272/appservice/__dev__/WAService.js:13:22198) at s.emit (http: //127.0.0.1:20272/appservice/__dev__/WAService.js:7:14391) at Function.<anonymous> (http: //127.0.0.1:20272/appservice/__dev__/WAService.js:13:23534) at http: //127.0.0.1:20272/appservice/__dev__/WAService.js:6:17573 at a (http: //127.0.0.1:20272/appservice/appservice?t=1530603174244:1033:7423) at b.<anonymous> (http: //127.0.0.1:20272/appservice/appservice?t=1530603174244:1033:7510) at b.emit (http: //127.0.0.1:20272/appservice/appservice?t=1530603174244:1033:22796) |
没有判断session_key每次都重新获取openid导致