fix: 修复prometheus列表页可能不显示dc名称的问题

This commit is contained in:
陈劲松
2020-11-19 15:06:31 +08:00
committed by chenjinsong
parent 889b8ad24c
commit 2a5f2a25c3

View File

@@ -367,7 +367,7 @@
//获取dc数据 //获取dc数据
getDcData() { getDcData() {
return new Promise(resolve => { return new Promise(resolve => {
this.$get('idc').then(response => { this.$get('idc', {pageSize: -1}).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.dcData = response.data.list; this.dcData = response.data.list;
} }