chore:1.0.13

This commit is contained in:
曾文豪
2023-11-01 10:55:35 +08:00
parent 039c82eae1
commit 77b361382e
3 changed files with 17 additions and 2 deletions

View File

@@ -99,7 +99,9 @@ async function req(url, options) {
let data = res.data;
if (res.encrypt) {
data = crypto.decrypt(data);
data = Common.parseJSON(data, data);
if (!Common.isEmpty(data)) {
data = Common.parseJSON(data, data);
}
}
resolve({data, recordsTotal: res.recordsTotal})
} else {