NEZ-2750 perf: 集成 NZ-TALON配置页面样式调整

This commit is contained in:
likexuan
2023-04-06 17:04:48 +08:00
parent 6dae7ed6e5
commit ac8a1f3fed
5 changed files with 80 additions and 46 deletions

View File

@@ -33,7 +33,7 @@
<i slot="suffix" class="nz-icon nz-icon-override" @click="copyUrl(curlUrl)" :title="$t('overall.copyText')"></i>
</el-input>
</div>
<h4 style="margin-top:15px">{{$t('integration.autoRemark')}}</h4>
<h4 style="margin-top:10px">{{$t('integration.autoRemark')}}</h4>
</div>
</div>
</div>
@@ -83,7 +83,9 @@ export default {
}
},
created () {
this.getAssetList()
this.$nextTick(() => {
this.getAssetList()
})
this.token = localStorage.getItem('nz-token')
axios.get('/healthy').then(response => {
const url = response.request.responseURL
@@ -105,10 +107,10 @@ export default {
if (response.code === 200) {
this.assetList = response.data.list
if (this.assetList && this.assetList.length > 0) {
setTimeout(() => {
this.assetId = String(this.assetList[0].id)
this.loadFinish = true
}, 100)
// setTimeout(() => {
this.assetId = String(this.assetList[0].id)
this.loadFinish = true
// }, 100)
}
}
})