From 4ead3f1a8571b3536daedbd4a0268aebdfb86517 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期三, 31 五月 2023 10:31:14 +0800 Subject: [PATCH] 1、对MDM服务的Feign进行改动 --- 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.9.3