From f030d8a9607cef32ee41e01d96817c7e47681602 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 30 五月 2025 15:18:47 +0800 Subject: [PATCH] 11 --- src/utils/stringUtil.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/utils/stringUtil.ts b/src/utils/stringUtil.ts index 3e57ef1..ab955b6 100644 --- a/src/utils/stringUtil.ts +++ b/src/utils/stringUtil.ts @@ -1,6 +1,6 @@ export function isStringEmpty(value: string | null | undefined): boolean { - return !value || value.trim() === ''; + return value == null || value.trim() === ''; } export function genderFormat(value: number): string { -- Gitblit v1.9.3