From 855ffa543ec67b6168c689d4a563597576053f98 Mon Sep 17 00:00:00 2001 From: "shengwen.chen" Date: Fri, 24 Oct 2025 14:26:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=BC=E5=AE=B9=E5=AE=B6=E5=B1=9E?= =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E7=9A=84=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/waitList/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/waitList/index.vue b/src/views/waitList/index.vue index 6167acf..a6e2541 100644 --- a/src/views/waitList/index.vue +++ b/src/views/waitList/index.vue @@ -364,7 +364,11 @@ export default { // 每秒更新一次当前时间 getServerDateTime().then(res => { - this.serverTimeStamp = dayjs(res['Data']).valueOf() + if (dayjs().utcOffset() == 480) { + this.serverTimeStamp = dayjs(res['Data']).valueOf() + } else { + this.serverTimeStamp = dayjs(res['Data']).valueOf() + 8 * 60 * 60 * 1000 + } this.dateTimer = setInterval(() => { this.currentDateTime = dayjs(this.serverTimeStamp).format(`YYYY-MM-DD HH:mm dddd`); this.serverTimeStamp += 1000