From 12f1649a396f1b0ee480498b9d0a4b2705dde043 Mon Sep 17 00:00:00 2001 From: Ching Date: Sun, 9 Feb 2025 21:03:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96logs.html=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E4=B8=AD=E7=9A=84AJAX=E8=AF=B7=E6=B1=82=E5=A4=84=E7=90=86?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/logs.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/logs.html b/templates/logs.html index ae5954d..aeb7101 100644 --- a/templates/logs.html +++ b/templates/logs.html @@ -196,9 +196,7 @@ url: '/barcode', method: 'POST', data: JSON.stringify({ - data: { - data: barcode - } + data: barcode }), contentType: 'application/json', success: function(response) {