From 76f21d2c35d4376f3eb41803707fe8e813df975f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BA=86=E6=BA=90?= Date: Tue, 22 Apr 2025 15:09:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SearchHigh/src/SearchHigh.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/SearchHigh/src/SearchHigh.vue b/src/components/SearchHigh/src/SearchHigh.vue index 095c597..5fd7d6e 100644 --- a/src/components/SearchHigh/src/SearchHigh.vue +++ b/src/components/SearchHigh/src/SearchHigh.vue @@ -364,7 +364,12 @@ const getDictOptions = ()=>{ let selectList = searchOption_high.value.filter(item=>getInputType(item.field) == 'select') selectList.forEach(item=>{ // allDictOptions.value[item.field] = getStrDictOptions(item.dictType) - allDictOptions.value[item.field] = item.form.componentProps.options + + if (item.dictType) { + allDictOptions.value[item.field] = getStrDictOptions(item.dictType) + }else{ + allDictOptions.value[item.field] = item?.form?.componentProps?.options + } allDictOptions.value[item.field+'Value'] = item?.form?.componentProps?.optionsAlias?.valueField allDictOptions.value[item.field+'Lable'] = item?.form?.componentProps?.optionsAlias?.labelField // else if (item.field == 'creator' || item?.showUserSelectHigh || item.field == 'updater' || item.field == 'worker') {