From cc68c8e5f5b6dc17ce03b74ffb8933efe632c54d Mon Sep 17 00:00:00 2001
From: mg <maokecheng@163.com>
Date: 星期四, 03 十一月 2022 11:05:22 +0800
Subject: [PATCH] 页面导航和点位管理
---
src/utils/helper.js | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/utils/helper.js b/src/utils/helper.js
index cc5a8e1..25f8baf 100644
--- a/src/utils/helper.js
+++ b/src/utils/helper.js
@@ -78,6 +78,17 @@
}
return;
}
+// 鑾峰彇骞存湀鏃ユ椂鍒嗙
+export function getNowDate(time){
+ const result = new Date(time);
+ let yy = result.getFullYear(),
+ mm = result.getMonth()+1,
+ dd = result.getDate(),
+ hh = result.getHours(),
+ mi = result.getMinutes(),
+ ss = result.getSeconds()
+ return yy+'-'+ fillTime(mm)+'-'+fillTime(dd)+" "+fillTime(hh)+':'+fillTime(mi) + ':' + fillTime(ss);
+}
function filterTime(time) {
if (time < 0) {
return '宸查�炬湡';
--
Gitblit v1.8.0