From 3626fd024d75da06a2589d5d2c1601b2bc82ab92 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Mon, 4 Mar 2024 19:09:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E5=87=BA=E5=AF=B9=E5=BA=94=E7=9A=84=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Table/TagSearch/index.vue | 138 ++++++++++++----------- 1 file changed, 74 insertions(+), 64 deletions(-) diff --git a/src/components/Table/TagSearch/index.vue b/src/components/Table/TagSearch/index.vue index 9da5bcc5c..7171048f2 100644 --- a/src/components/Table/TagSearch/index.vue +++ b/src/components/Table/TagSearch/index.vue @@ -48,7 +48,8 @@ export default { props: { config: { type: Object, - default: () => {} + default: () => { + } }, options: { type: Array, @@ -212,10 +213,12 @@ export default { delete routeFilter.search } const asFilterTags = _.cloneDeep(this.filterTags) - this.filterTags = { - ...asFilterTags, - ...routeFilter - } + setTimeout(() => { + this.filterTags = { + ...asFilterTags, + ...routeFilter + } + }, 100) }, getValueLabel(key, value) { for (const field of this.options) { @@ -343,70 +346,77 @@ export default {