From e713b378b01d189f972cfb5b9eae749ee95a8b51 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 29 十月 2022 13:48:00 +0800
Subject: [PATCH] 1.解决两个账号登录,是否被挤掉的问题
---
src/utils/global.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/utils/global.js b/src/utils/global.js
index dedc120..3c23e76 100644
--- a/src/utils/global.js
+++ b/src/utils/global.js
@@ -50,6 +50,13 @@
// return `${y}-${m}-${d} ${hh}:${mm}:${ss} ${week}`
return `${y}-${m}-${d} ${hh}:${mm}:${ss}`
}
+// 鏃堕棿澶勭悊鍑芥暟 杩斿洖 鏃跺垎
+export function handleDatetime3(value) {
+ const dt = new Date(value)
+ const hh = (dt.getHours() + '').padStart(2, '0')
+ const mm = (dt.getMinutes() + '').padStart(2, '0')
+ return `${hh}:${mm}`
+}
// 鑾峰彇瑙勫垯鐢熸垚鐨勭紪鐮�
export async function getNewEncodingRules(encode) {
--
Gitblit v1.9.3