From 376ac09a54e8c95190d06bf39f295c890829c103 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期二, 03 九月 2024 15:43:25 +0800
Subject: [PATCH] 查看工人详情
---
src/common/utils/util.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/common/utils/util.js b/src/common/utils/util.js
index e323207..18b51a8 100644
--- a/src/common/utils/util.js
+++ b/src/common/utils/util.js
@@ -138,7 +138,6 @@
return '-'
}
let date = new Date(dat)
- console.log(date, dat, type);
const year = date.getFullYear();
const month = (date.getMonth() + 1).toString().padStart(2, '0');
const day = date.getDate().toString().padStart(2, '0');
@@ -768,7 +767,9 @@
}, reject)
// #endif
})
+ },
+ roundToTwo(num){
+ return Math.round((num + Number.EPSILON) * 100) / 100;
}
-
}
--
Gitblit v1.9.1