已解决Cannot read property 'length' of undefined Cannot read property 'length' of undefined这个报错是因为用了一些数据的length属性,但是这些属性为空或者就没有,仔细检查一下知道了是哪里错了