From 8118c5b6b0ca3858a80e42c240512d85cf509e13 Mon Sep 17 00:00:00 2001 From: imlonghao Date: Mon, 24 Jan 2022 22:16:42 +0800 Subject: [PATCH] style(html): javascript format --- html/logs.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/html/logs.html b/html/logs.html index 2e41ed8..860520a 100644 --- a/html/logs.html +++ b/html/logs.html @@ -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 @@ - + \ No newline at end of file