From eb6970d08b8e2974194d5aa24872fce19c5c11a0 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 18 八月 2023 12:00:49 +0800 Subject: [PATCH] 用户管理 树切换默认bug --- Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue b/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue index a31af82..4639d3f 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue @@ -176,6 +176,7 @@ hidden: (!this.controllerSecret) }]; } else { + debugger; this.option.column = this.options.tableConfig.cols.map(item => { if (item.field != 'LAY_TABLE_INDEX' && item.field != 'LAY_CHECKED') { return { @@ -183,7 +184,9 @@ label: item.title, prop: item.field, formatter:item.template, - search: true + search:this.options.tableConfig.queryColumns.some(qItem=>{ + return qItem.field==item.field + }) } } }) -- Gitblit v1.9.3