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 + }) } } })