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