乍一看这个错误感觉无从下手,其实很简单,这个错误是由于JSON.parse解析了undefined。 parse前记得判断下 转载于:https://www.cnblogs.com/yangxunwu1992/p/8964780.html