From 17f7ed9c9a6a1ad78ee220b4046e72208db42f7d Mon Sep 17 00:00:00 2001 From: zyh Date: Tue, 23 Apr 2024 18:07:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20assetselectpage=E6=94=B9=E4=B8=BAq?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/rightBox/batchAddEndpoint.vue | 3 ++- .../common/rightBox/software/softwareAssetBox.vue | 3 ++- .../components/common/v-selectpagenew/methods.js | 13 ++++++++++++- .../page/integration/integration-tabs/automatic.vue | 3 ++- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/batchAddEndpoint.vue b/nezha-fronted/src/components/common/rightBox/batchAddEndpoint.vue index 46e294d7b..955fd8c4d 100644 --- a/nezha-fronted/src/components/common/rightBox/batchAddEndpoint.vue +++ b/nezha-fronted/src/components/common/rightBox/batchAddEndpoint.vue @@ -34,7 +34,7 @@ arr.includes(String(val[this.keyField]))) + if (matchRows.length) { + this.picked = this.multiple ? matchRows : [matchRows[0]] + } + } + } + } } } } diff --git a/nezha-fronted/src/components/page/integration/integration-tabs/automatic.vue b/nezha-fronted/src/components/page/integration/integration-tabs/automatic.vue index 3931db3d6..a2b7acb0d 100644 --- a/nezha-fronted/src/components/page/integration/integration-tabs/automatic.vue +++ b/nezha-fronted/src/components/page/integration/integration-tabs/automatic.vue @@ -9,12 +9,13 @@
{{$t('asset.asset')}}