后台看到报错:
Unexpected token { in JSON at position 45
SyntaxError: Unexpected token { in JSON at position 45
at JSON.parse (<anonymous>)
at success (https://utils/util.js:69:22)
at Function.forEach.u.<computed> (https://lib/WASubContext.js:2:2162788)
at https://lib/WASubContext.js:2:105624
at p (https://lib/WASubContext.js:2:479054)
at Function.<anonymous> (https://lib/WASubContext.js:2:963466)
at https://lib/WASubContext.js:2:105624
at https://lib/WASubContext.js:2:879688
我们代码 utils/util.js:里69行是:
res = JSON.parse(res);
后台查看错误的基础库版本,全是2.17.0的,是不是这个JSON解析有问题?