From 374b003ac7a53bb032196e7b403c7cefebb16f77 Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期四, 04 六月 2020 08:08:41 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/console.html |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 6f262e6..5676366 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -763,8 +763,6 @@
                 if (res.code === 200){
                     var barcodes = res.data;
                     for (var i = 0; i < barcodes.length; i++){
-                        console.log(barcodes[i].barcodeId);
-                        console.log(barcodes[i].codeValue);
                         $("#code-decoder-data-"+barcodes[i].barcodeId).html(barcodes[i].codeValue);
                     }
                 } else if (res.code === 403){
@@ -797,6 +795,9 @@
     // 杈撻�佽澶囩偣鍑讳簨浠�
     $('.site').on('click', function () {
         var id = this.id.split("-")[1];
+        if (id === undefined) {
+            return;
+        }
         layer.open({
             title: id + " 绔欑偣淇℃伅璇︽儏",
             closeBtn: 0,

--
Gitblit v1.9.1