feat: topo重构 (40%)

This commit is contained in:
zhangyu
2023-02-16 16:33:20 +08:00
parent 7dde3258b8
commit b4ed631e9b
11 changed files with 1399 additions and 7 deletions

View File

@@ -0,0 +1,32 @@
export default {
data () {
return {
topoData: {},
querysArray: {},
meta2dType: ''
}
},
mounted () {
if (this.meta2dType === 'project') {
setTimeout(() => {
const res = {
topo: {},
elements: [],
timeType: 4
}
this.topoData = res.topo
this.querysArray = res.elements
})
} else {
setTimeout(() => {
const res = {
topo: {},
elements: [],
timeType: 4
}
this.topoData = res.topo
this.querysArray = res.elements
})
}
}
}