`

jquery easyui combogrid Uncaught TypeError:Cannot read property

阅读更多

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/

 

1
0
分享到:
评论
1 楼 蕃薯耀 2018-08-30  
jquery easyui combogrid Uncaught TypeError:Cannot read property


=============
蕃薯耀

相关推荐

Global site tag (gtag.js) - Google Analytics