From a90276a242ddca6f45e234c5cc4832a7a01a7e03 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 02 十二月 2024 11:06:53 +0800 Subject: [PATCH] Fix Bug: 条码更新问题 --- src/utils/stringUtil.ts | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/utils/stringUtil.ts b/src/utils/stringUtil.ts index 4f3514c..3e57ef1 100644 --- a/src/utils/stringUtil.ts +++ b/src/utils/stringUtil.ts @@ -3,3 +3,10 @@ return !value || value.trim() === ''; } +export function genderFormat(value: number): string { + if ( 1===value ) { + return "鐢�"; + } else { + return "濂�"; + } +} -- Gitblit v1.9.3