From cf7eea33afc9340a4ffb462cc82010955f765e92 Mon Sep 17 00:00:00 2001 From: zyh Date: Mon, 13 Mar 2023 11:24:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AAutomatic=20installation=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E9=80=89=E4=B8=ADasset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../page/integration/integration-tabs/automatic.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 c05d7fa6f..3b84777c4 100644 --- a/nezha-fronted/src/components/page/integration/integration-tabs/automatic.vue +++ b/nezha-fronted/src/components/page/integration/integration-tabs/automatic.vue @@ -105,8 +105,10 @@ export default { if (response.code === 200) { this.assetList = response.data.list if (this.assetList && this.assetList.length > 0) { - this.assetId = String(this.assetList[0].id) - this.loadFinish = true + this.$nextTick(() => { + this.assetId = String(this.assetList[0].id) + this.loadFinish = true + }) } } })