Browse Source

no message

索隆 6 years ago
parent
commit
0f268f2623
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/pierer.js

+ 1 - 1
js/pierer.js

@@ -4,7 +4,7 @@ function getList(page){
4 4
 	$("#list, #page").empty();
5 5
 	ajax(apiUrl+"DiamondRecord/list",{"page":page,"size":size},function(res){
6 6
 		if(res.code == 1){
7
-			if(res.data.length > 0){
7
+			if(res.data.list.length > 0){
8 8
 				$("#total").text(res.data.diamondNum);
9 9
 				$("#list").html($.Template7.renderTpl("tempaltelist",res.data.list));
10 10
 				var newpage = new createPage(res['total'],page,size,3);