From 7941623b1fb108a154ea4270d7c7e2df6031f6e5 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期四, 11 十二月 2025 12:36:14 +0800
Subject: [PATCH] 优化页面UI更新
---
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