wechat-cnode icon indicating copy to clipboard operation
wechat-cnode copied to clipboard

微信开发者工具1.9.1,报错的问题,callback 函数参数错误,这个是什么原因造成的呢

Open touxing opened this issue 7 years ago • 0 comments

微信开发者工具1.9.1,报错的问题,callback 函数参数错误,这个是什么原因造成的呢

WAService.js:3 thirdScriptError
result is not defined;at pages/topics/topics getData function;at api request success callback function
ReferenceError: result is not defined
    at Object.getDateDiff (http://127.0.0.1:9973/appservice/utils/util.js:48:12)
    at http://127.0.0.1:9973/appservice/pages/topics/topics.js:69:37
    at Array.map (<anonymous>)
    at http://127.0.0.1:9973/appservice/pages/topics/topics.js:68:56
    at Function.success (http://127.0.0.1:9973/appservice/utils/api.js:28:7)
    at Object.success (http://127.0.0.1:9973/appservice/__dev__/WAService.js:3:13773)
    at s.<anonymous> (http://127.0.0.1:9973/appservice/__dev__/WAService.js:9:21552)
    at s.emit (http://127.0.0.1:9973/appservice/__dev__/WAService.js:4:25110)
    at Function.<anonymous> (http://127.0.0.1:9973/appservice/__dev__/WAService.js:9:22875)
    at http://127.0.0.1:9973/appservice/__dev__/WAService.js:4:7757

touxing avatar Jan 24 '18 14:01 touxing