diff --git a/src/components/common/TimeLine.vue b/src/components/common/TimeLine.vue index e714ed75..24f2fb1c 100644 --- a/src/components/common/TimeLine.vue +++ b/src/components/common/TimeLine.vue @@ -4,7 +4,7 @@
-
+
{{ item.time }}
@@ -111,7 +111,8 @@ export default { const month = date.getMonth() + 1 const day = date.getDate() const obj = { - time: `${date.getFullYear()}-${month < 10 ? ('0' + month) : month}-${day < 10 ? ('0' + day) : day}`, + // time: `${date.getFullYear()}-${month < 10 ? ('0' + month) : month}-${day < 10 ? ('0' + day) : day}`, + time: `${month < 10 ? ('0' + month) : month}-${day < 10 ? ('0' + day) : day}`, time1: changeTimestampToTime(timestamp).substring(0, changeTimestampToTime(timestamp).length - 3), showFlag: false } diff --git a/src/views/detections/overview/EventsTimeline.vue b/src/views/detections/overview/EventsTimeline.vue index 35bea91e..964b21bb 100644 --- a/src/views/detections/overview/EventsTimeline.vue +++ b/src/views/detections/overview/EventsTimeline.vue @@ -12,7 +12,7 @@
-
+
{{ item.time }}