🐛修复显示时间的bug
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
let v = res.RoadInfoList[i];
|
||||
let tmp = "<tr>" + "<th>" + (res.StartIndex+i+1) + "</th>" +
|
||||
"<th>" + v.RoadName + "</th>" + "<th>" + v.RoadUid + "</th>" + "<th>" + v.ProductName + "</th>" +
|
||||
"<th>" + v.Status + "</th>" + "<th>" + v.CreateTime + "</th>";
|
||||
"<th>" + v.Status + "</th>" + "<th>" + new Date(v.CreateTime).toLocaleString() + "</th>";
|
||||
|
||||
tmp = tmp.replace("unactive", "不可用").replace("active", "正常");
|
||||
tmp = tmp +'<th>' + '<button type="button" value="' + v.RoadName +'" class="btn btn-default" onclick="save(this.value);">'+ "确定" +'</button>' + '</th></tr>';
|
||||
|
||||
Reference in New Issue
Block a user