NEZ-3264 fix:查看 Agents 详情 数据重复
This commit is contained in:
@@ -54,8 +54,10 @@ export default {
|
|||||||
async handler (n) {
|
async handler (n) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.getReadyTableData().then(res => {
|
this.getReadyTableData().then(res => {
|
||||||
|
this.ringTableData = []
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
}).catch(res => {
|
}).catch(res => {
|
||||||
|
this.ringTableData = []
|
||||||
this.ringTableData.push([])
|
this.ringTableData.push([])
|
||||||
this.$refs.loading.endLoading()
|
this.$refs.loading.endLoading()
|
||||||
this.loading = false
|
this.loading = false
|
||||||
@@ -80,6 +82,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getTableData () {
|
async getTableData () {
|
||||||
|
this.servicesTableData = []
|
||||||
await this.getCompactorTableData()
|
await this.getCompactorTableData()
|
||||||
await this.getservicesTableData()
|
await this.getservicesTableData()
|
||||||
await this.getIngesterTableData()
|
await this.getIngesterTableData()
|
||||||
|
|||||||
Reference in New Issue
Block a user