使用GridManager时,有时会出现如下错误:GridManagerError:response.totalsundefined,pleasechecktotalsKey数据。并提示勾选配置项totalsKey。如果totalsKey与接口返回的字段不匹配,则组件获取到的totalsKey为undefined。例如接口返回的格式如下:{list:[{name:'baukh',age:11},{name:'baukh2',age:22}],sum:2}自默认值totalsKey的为totals,当接口返回totalnumber字段为sum时,需要在初始化时增加一个配置项:totalsKey:'sum'。详情请参考API-totalsKey。如果当前没有配置totalsKey:'sum',GridManager会报Error:response.totalsundefined,请检查totalsKey错误。另外配置项responseHandler也可以处理这个问题,不过responseHandler一般用来处理比较复杂的情况。详情请参考API-responseHandler
