From a2ddd3bec584b6eb91ab8845353fdb40c9b37ebe Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期一, 02 九月 2024 17:22:17 +0800
Subject: [PATCH] 初步完成

---
 src/common/utils/util.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/common/utils/util.js b/src/common/utils/util.js
index db1eae5..0c7407c 100644
--- a/src/common/utils/util.js
+++ b/src/common/utils/util.js
@@ -767,7 +767,9 @@
 			}, reject)
 			// #endif
 		})
+	},
+	roundToTwo(num){
+		return Math.round((num + Number.EPSILON) * 100) / 100;
 	}
-	
 
 }

--
Gitblit v1.9.1