From ea3ab34e0d3af27887cbeef5e5871cefd1cc459e Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 26 十月 2023 11:30:54 +0800
Subject: [PATCH] 主题库定义-按钮权限

---
 Source/UBCS-WEB/src/components/advanced-query/advancedQuery.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/advanced-query/advancedQuery.vue b/Source/UBCS-WEB/src/components/advanced-query/advancedQuery.vue
index f2a1313..fa4fa40 100644
--- a/Source/UBCS-WEB/src/components/advanced-query/advancedQuery.vue
+++ b/Source/UBCS-WEB/src/components/advanced-query/advancedQuery.vue
@@ -209,7 +209,7 @@
                     this.initOptions.forEach((item,index) => {
                         if(item.fieldType==='combox') {
                             let enumCach = item.data || JSON.parse(localStorage.getItem(item.comboxKey));
-                            if(enumCach != null) {
+                            if(enumCach != null && enumCach.length > 0) {
                                 item.data = enumCach;
                             }else {
                                 getDictionary({code: item.comboxKey}).then(res=>{

--
Gitblit v1.9.3