From 85a15646ffe20ed2bbb2042ec500df8c850a69cc Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期五, 25 七月 2025 15:29:41 +0800
Subject: [PATCH] 首次提交
---
common/loadshget.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/loadshget.js b/common/loadshget.js
index cdd514c..1951b82 100644
--- a/common/loadshget.js
+++ b/common/loadshget.js
@@ -1,9 +1,9 @@
import get from 'lodash.get'
export default function lget(data, item) {
- if(!data || data == null) return "--";
+ if(!data || data == null ) return "--";
if(data & (!item || item == null)) return data;
let res = get(data, item)
- return res == null ? "--" :res
+ return (res == null || res == "") ? "--" :res
}
--
Gitblit v1.9.3