From 62541dd3e9ea18836bec9ab6f35d2a7b9dd1e741 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期五, 07 六月 2024 20:17:49 +0800 Subject: [PATCH] 登录更改 --- src/views/tigerprojects/system/lowcode/normal/data.ts | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/normal/data.ts b/src/views/tigerprojects/system/lowcode/normal/data.ts index cb5b132..ee45e1a 100644 --- a/src/views/tigerprojects/system/lowcode/normal/data.ts +++ b/src/views/tigerprojects/system/lowcode/normal/data.ts @@ -9,6 +9,7 @@ import { DeleteEntity } from '/@/api/tigerapi/system'; import { ActionItem, BasicColumn } from '/@/components/Table'; import { useI18n } from '/@/hooks/web/useI18n'; +import { isNullOrEmpty } from '/@/utils/is'; const { t } = useI18n(); @@ -138,12 +139,16 @@ /* Select 鑷畾涔塷nChange鏂规硶 */ export function custOnChange(e: any, fnName: string, entityName: string) { - switch (entityName) { - case 'BAS_REASON': - onChangeFns[fnName](e); - break; - default: - break; - (e) => {}; + if (!isNullOrEmpty(fnName)) { + switch (entityName) { + case 'BAS_REASON': + onChangeFns[fnName](e); + break; + default: + break; + (e) => {}; + } + } else { + (e) => {}; } } -- Gitblit v1.9.3