From 4b0f954b424ab02d53df39452faa031319b997f4 Mon Sep 17 00:00:00 2001 From: Ching Date: Sun, 9 Feb 2025 20:45:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(template):=20=E4=BC=98=E5=8C=96logs.html?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=B8=AD=E7=9A=84AJAX=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=A4=84=E7=90=86=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 0e330d2..e7fd07e 100644 --- a/templates/logs.html +++ b/templates/logs.html @@ -93,9 +93,7 @@ url: '/barcode', method: 'POST', data: JSON.stringify({ - data: { - data: barcode - } + data: barcode }), contentType: 'application/json', success: function(response) {