From 4501ec94feef7504a8b43859983254ce3ae7dbd1 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 28 六月 2023 14:11:34 +0800 Subject: [PATCH] # --- src/main/webapp/views/console.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html index b3148e3..e79c633 100644 --- a/src/main/webapp/views/console.html +++ b/src/main/webapp/views/console.html @@ -604,7 +604,7 @@ var offSet = 0; unit = -28.5; - offSet = 1710; //145 + offSet = 276; //145 // crnEl.animate({left: offSet + 'px'}, 1000); @@ -634,7 +634,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