From c054516a38a2613a4e7399ba62694fbd99a606fe Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 06 一月 2023 09:10:09 +0800
Subject: [PATCH] 1.组织架构表格拖动实现demo

---
 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