easyui报错: Uncaught TypeError: Cannot read property 'length' of null
返回:{"total":0,"rows":null,"msg":null}这样就会报错,因为:"rows":null是空指针,可以改以空集,如下: {"total":0,"rows":[],"msg":null},就是new ArrayList()之类,虽然没有数据,但不会是空的,这样就不会报错了.
在用 Bee+spring+springmvc+easyui 开发javaweb时也碰到这个问题.