From c4f5548618def1190a54540e3c6486900a3ebf8f Mon Sep 17 00:00:00 2001 From: dev02 Date: Tue, 14 Feb 2023 15:08:41 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=89=8D=E5=8F=B0]=20=E4=BF=AE=E6=94=B9baja?= =?UTF-8?q?=20api=20=E5=9B=9E=E5=82=B3=E6=9E=B6=E6=A7=8B=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/_alert.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Frontend/_alert.html b/Frontend/_alert.html index 175bb29..ac70a77 100644 --- a/Frontend/_alert.html +++ b/Frontend/_alert.html @@ -643,9 +643,11 @@ } function refTable(data) { - let tag = "#alertTable"; - $.each(data, function (i, v) { - v.formId = AlertList(v.uuid); + let tag = "#alertTable"; + + $.each(data, function (i, v) { + v.formId = AlertList(v.uuid.$val); + }); let column_defs = [ @@ -680,7 +682,6 @@ "title": "設備名稱", "data": "sourceName_zh", render: (data) => { - console.log(data); return allDevices.find(d => d.device_number === data)?.full_name || "" } },