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 || "" } },