fix: 修复endpoint-query改时间数据不刷新的问题

This commit is contained in:
陈劲松
2020-04-27 21:51:02 +08:00
parent e596dfbcce
commit e7932b3115
4 changed files with 6 additions and 2 deletions

View File

@@ -448,6 +448,7 @@
axiosArr.push(axios.get("/prom/api/v1/query_range?query="+endpoint.element+"&start="+start+"&end="+end+"&step="+step));
}
this.legend=[];
this.chartDatas = [];
axios.all(axiosArr).then(res =>{
res.forEach((response,promIndex)=>{
if (response.status == 200) {