From 2074d29e551aca91642c734925e8e6dc0adbd230 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 22 Apr 2022 16:33:14 +0800 Subject: [PATCH] bug --- packages/IntelligentSecurity/components/Synergy.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/IntelligentSecurity/components/Synergy.vue b/packages/IntelligentSecurity/components/Synergy.vue index 0c894722..34d70310 100644 --- a/packages/IntelligentSecurity/components/Synergy.vue +++ b/packages/IntelligentSecurity/components/Synergy.vue @@ -295,7 +295,9 @@ const date = new Date() const seconds = date.getHours() * 3600 + date.getMinutes() * 60 + date.getSeconds() - this.x = seconds / (24 * 60 * 60) * this.canvasWidth + console.log(this.canvasWidth) + + this.x = seconds / (24 * 60 * 60) * this.canvasWidth + 100 }, secTotime (s) {