jquery easyui combogrid Uncaught TypeError:Cannot read property
================================
©Copyright 蕃薯耀 2018年8月30日
http://fanshuyao.iteye.com/
一、问题描述:
使用jquery easyui combogrid时,当查询列表没有结果action返回
{}
时,会报错
Uncaught TypeError:Cannot read property
二、解决方案:
当查询结果为空时,默认返回:
{"rows":[], "total":0}
这样就不会报错了。
================================
©Copyright 蕃薯耀 2018年8月30日
http://fanshuyao.iteye.com/