style(html): javascript format

This commit is contained in:
imlonghao 2022-01-24 22:16:42 +08:00
parent c35b84728d
commit 8118c5b6b0

View file

@ -98,10 +98,10 @@
title: "打包时间",
data: "ts",
render: function (data, type, row, meta) {
if(type == 'display') {
return DATE_FORMATTER.format(new Date(data * 1000))
if (type == 'display') {
return DATE_FORMATTER.format(new Date(data * 1000))
} else {
return data
return data
}
}
},
@ -135,4 +135,4 @@
</script>
</body>
</html>
</html>