From fee83fc57f553595cc3a4891b8a692fa66cd77fe Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 25 二月 2025 10:43:52 +0800 Subject: [PATCH] 一些更新 --- src/views/tigerprojects/system/lowcode/setting/index.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/setting/index.vue b/src/views/tigerprojects/system/lowcode/setting/index.vue index 384a6e6..387ae49 100644 --- a/src/views/tigerprojects/system/lowcode/setting/index.vue +++ b/src/views/tigerprojects/system/lowcode/setting/index.vue @@ -46,6 +46,7 @@ import { useRouter } from 'vue-router'; import { afterFetchFn, SearchInfoFn } from '../data'; import { useQueryStore } from '/@/store/modules/queryInpage'; +import { isNullOrEmpty } from '/@/utils/is'; const go = useGo(); const globSetting = useGlobSetting(); @@ -133,11 +134,12 @@ // `${globSetting.downloadUrl}/LowCode/SYS_LOW_CODE/SYS_LOW_CODE_Baseform.json`, // ); const data = await getEntity({ - sqlcmd: "ASSEMBLY_NAME ='SYS_LOW_CODE'", + sqlcmd: "CODE_NAME ='SYS_LOW_CODE'", entityName: 'SYS_LOW_CODE', order: '', }); - _searchFormSchema.value = JSON.parse(data.Data.Items[0].SEARCH_FORM_JSON); + const searchForms = JSON.parse(data.Data.Items[0].SEARCH_FORM_JSON); + _searchFormSchema.value = isNullOrEmpty(searchForms.search) ? searchForms : searchForms.fields; _columns.value = JSON.parse(data.Data.Items[0].BASE_FORM_JSON); }); </script> -- Gitblit v1.9.3