From 90bab18e833f085d5a4b0e8d2f73d48b992bcf8d Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 19 六月 2023 21:03:05 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs
---
Source/UBCS-WEB/src/util/func.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Source/UBCS-WEB/src/util/func.js b/Source/UBCS-WEB/src/util/func.js
index c347c27..12f731b 100644
--- a/Source/UBCS-WEB/src/util/func.js
+++ b/Source/UBCS-WEB/src/util/func.js
@@ -102,4 +102,12 @@
}
return str;
}
+ /**
+ * 鍒ゆ柇鏄惁涓哄璞″苟涓嶄负绌哄璞�
+ * @param value
+ * @returns {Boolean}
+ */
+ static isValuableObj(value) {
+ return typeof value === 'object' && value !== null && Object.keys(value).length > 0;
+ }
}
--
Gitblit v1.10.0