From 3a3ec51d536a37713d8270ec797c451e347fed5e Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 06 七月 2023 11:15:59 +0800 Subject: [PATCH] # --- src/main/webapp/views/console.html | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html index 28c51f7..d6d83d6 100644 --- a/src/main/webapp/views/console.html +++ b/src/main/webapp/views/console.html @@ -344,7 +344,6 @@ url: baseUrl + '/console/barcode/output/site', method: 'GET', success: function (res) { - console.log(res) if (res.code === 200) { tData = eval(res.data); if (tData.length <= 5) { @@ -646,7 +645,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