fix: 修复prometheus列表页可能不显示dc名称的问题
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user