perf:httpUtils增加返回recordsTotal
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user