From 1ccbcddfbc9960f9e68d92cc7fd9c9d7e8a2e3cf Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期二, 02 七月 2024 16:06:08 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 91ea99a..fcc160d 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -648,7 +648,7 @@
if (res.code === 200) {
var barcodes = res.data;
for (var i = 0; i < barcodes.length; i++) {
- $("#code-decoder-data-" + barcodes[i].barcodeId).html(barcodes[i].codeValue);
+ $("#barcode-"+barcodes[i].barcodeId).html(barcodes[i].codeValue ? barcodes[i].codeValue : "--");
}
} else if (res.code === 403) {
parent.location.href = baseUrl + "/login";
--
Gitblit v1.9.1