saaf-common
Advanced tools
Comparing version 1.0.19 to 1.0.20
{ | ||
"name": "saaf-common", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,3 @@ /* | ||
* @Last Modified by: zhengxiaowen | ||
* @Last Modified time: 2019-11-14 17:57:23 | ||
* @Last Modified time: 2019-11-19 14:16:46 | ||
*/ | ||
@@ -25,3 +25,6 @@ | ||
if(res.page){ | ||
return res.page | ||
return { | ||
...res.page, | ||
pageIndex: res.page.curIndex | ||
} | ||
}else if(res.count>=0){ | ||
@@ -28,0 +31,0 @@ page.pagesCount = Math.ceil(res.count/page.pageSize) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
346397
8232