[前端] 修改資料顯示
This commit is contained in:
parent
d13f5930a6
commit
6ca824e00c
@ -111,8 +111,17 @@
|
||||
}
|
||||
|
||||
var data = rel.data;
|
||||
ds = data;
|
||||
console.log(ds)
|
||||
ds = $.extend(true, [], data);
|
||||
$.each(data, function (i, v)
|
||||
{
|
||||
if (v.value.includes("$3"))
|
||||
{
|
||||
v.value = v.value.replace("$3", "");
|
||||
v.tag_name = v.tag_name.replace("$3", "");
|
||||
v.point_name = v.point_name.replace("$3", "");
|
||||
}
|
||||
})
|
||||
//console.log(ds)
|
||||
if (data == null || data.length == 0) {
|
||||
this.data = [];
|
||||
document.getElementById('loadDataText').innerText = "";
|
||||
|
Loading…
Reference in New Issue
Block a user