chore:1.0.14

This commit is contained in:
曾文豪
2023-11-01 12:01:53 +08:00
parent 77b361382e
commit 9d4016594a
3 changed files with 36 additions and 41 deletions

View File

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