🐛修复卡号卡密显示错误的bug

This commit is contained in:
sunxiaolong
2024-01-14 21:38:25 +08:00
parent 3fad772737
commit 1506c47a44

View File

@@ -153,6 +153,7 @@ let trade = {
t = item.UpdateTime;
break
}
const exValue = item.ExValue ? JSON.parse(item.ExValue) : {};
con += `<tr><th scope="row">` +
(index + 1) + `</th><td>` +
item.BankOrderId + `</td><td>` +
@@ -162,7 +163,7 @@ let trade = {
item.UserInAmount.toFixed(2) + `</td><td>` +
item.AllProfit.toFixed(2) + `</td><td` +
bg_red + `>` + st + `</td><td>${item.CreateTime}</td><td>${t}</td><td>` +
`卡号:${JSON.parse(item.ExValue)['cardNo']} 卡密:${JSON.parse(item.ExValue)["data"]}` +
`卡号:${exValue.cardNo !== undefined ? exValue.cardNo : ""} 卡密:${exValue.data !== undefined ? exValue.data : ""}` +
`</td></tr>`
});
if (con === "") {