feat: topo重构

This commit is contained in:
zhangyu
2023-02-22 18:21:39 +08:00
parent 9caa58a76b
commit 245eb6f985
12 changed files with 271 additions and 137 deletions

View File

@@ -23,7 +23,7 @@ export default {
this.topoData = res.data.topo.topo || {}
this.querysArray = res.data.topo.elements || []
this.params = {
timeType: res.data.topo.timeType || 1,
timeType: res.data.topo.timeType || 5,
unit: res.data.topo.unit || 1,
statistic: res.data.topo.statistic || 'last',
}
@@ -31,7 +31,7 @@ export default {
this.topoData = {}
this.querysArray = []
this.params = {
timeType: 1,
timeType: 5,
unit: 1,
statistic: 'last'
}