caipin 5 years ago
parent
commit
23bfea4fd5
1 changed files with 7 additions and 6 deletions
  1. 7 6
      global/js/cloud/curing.js

+ 7 - 6
global/js/cloud/curing.js

@@ -263,13 +263,14 @@ $(function() {
     $('button[closeRefresh]').on('click', function(e){
         // 只获取第一个选中的值
         
-        var currentPage=$('button[closeRefresh]').attr('currentPage');
         var parameter=$('button[closeRefresh]').attr('parameter');
-        if(mobile==''){
-        	currentPage=1;
-        }
-        refreshCuringPagination(parameter,currentPage);
-        
+    	if(parameter!=''){
+    		var currentPage=$('button[closeRefresh]').attr('currentPage');
+    		refreshCuringPagination(parameter,currentPage);
+    	}else{
+    		refreshCuringPage(compilation,latestCompilation,'','',mobile);    		
+    	}
+                
     });