forked from github/dataease
Merge pull request #4242 from dataease/pr@dev_memory_component
Pr@dev memory component
This commit is contained in:
commit
3b7f39c7c3
@ -74,7 +74,9 @@ export default {
|
|||||||
res.data.name = this.current.label
|
res.data.name = this.current.label
|
||||||
res.data.type = this.current.queryType
|
res.data.type = this.current.queryType
|
||||||
const arr = res.data ? [res.data] : []
|
const arr = res.data ? [res.data] : []
|
||||||
|
if (id) {
|
||||||
this.current = { num: id, label: name, queryType: 'datasource' }
|
this.current = { num: id, label: name, queryType: 'datasource' }
|
||||||
|
}
|
||||||
this.treeData = []
|
this.treeData = []
|
||||||
this.dfsTree(arr, id)
|
this.dfsTree(arr, id)
|
||||||
this.initEchart()
|
this.initEchart()
|
||||||
|
Loading…
Reference in New Issue
Block a user