From e955dbbfb837ad409e41a663e1e894d8fb583f60 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Fri, 13 Oct 2023 10:06:13 +0800
Subject: [PATCH] 修改视频关闭逻辑、优化弹窗消失的效果
---
src/utils/time.ts | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/utils/time.ts b/src/utils/time.ts
index 679e502..72a311d 100644
--- a/src/utils/time.ts
+++ b/src/utils/time.ts
@@ -45,6 +45,7 @@
export function convertTimestampToDate (timestamp:any, format:string) {
if (timestamp && (typeof timestamp === 'string') && timestamp.indexOf('-') > -1) {
+ // eslint-disable-next-line no-useless-escape
timestamp = timestamp.replace(/\-/g, '/')
}
const time = new Date(timestamp)
--
Gitblit v1.9.3