[前台] 修改baja api 回傳架構修改錯誤

This commit is contained in:
dev02 2023-02-14 15:08:41 +08:00
parent ed9add4f64
commit c4f5548618

View File

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