liting2017 преди 7 години
родител
ревизия
25ff2eef88
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      js/component/manageCenter/customer/report/personalReport.jsx

+ 1 - 1
js/component/manageCenter/customer/report/personalReport.jsx

@@ -66,7 +66,7 @@ const PersonalReport = React.createClass({
 						})
 					})
 					this.state.pagination.current =pageNo;
-					this.state.pagination.total=total.totalRecordCount%11?total.totalRecordCount:total.totalRecordCount+1;
+					this.state.pagination.total=total.totalRecordCount+Math.floor(total.totalRecordCount/10);
 				};
 				if(!data.data.length){
 					this.state.pagination.total=0;