perf:httpUtils增加返回recordsTotal

This commit is contained in:
yz
2023-03-18 22:19:14 +08:00
parent 930475e738
commit 0a026ee9db
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ async function req(url, options) {
data = crypto.decrypt(data);
data = Common.parseJSON(data, data);
}
resolve(data)
resolve({data,recordsTotal: res.recordsTotal})
} else {
GlobalConfig.getConfig().onHttpError(res);
reject(res)