NEZ-3264 fix:查看 Agents 详情 数据重复

This commit is contained in:
zhangyu
2023-10-25 16:09:55 +08:00
parent 15dd677123
commit 073156e8d7

View File

@@ -54,8 +54,10 @@ export default {
async handler (n) {
this.loading = true
this.getReadyTableData().then(res => {
this.ringTableData = []
this.getTableData()
}).catch(res => {
this.ringTableData = []
this.ringTableData.push([])
this.$refs.loading.endLoading()
this.loading = false
@@ -80,6 +82,7 @@ export default {
},
methods: {
async getTableData () {
this.servicesTableData = []
await this.getCompactorTableData()
await this.getservicesTableData()
await this.getIngesterTableData()