mirror of
https://github.com/dataease/dataease.git
synced 2026-06-13 01:01:20 +08:00
fix: excel数据集无数据源
This commit is contained in:
@@ -74,7 +74,9 @@ export default {
|
||||
res.data.name = this.current.label
|
||||
res.data.type = this.current.queryType
|
||||
const arr = res.data ? [res.data] : []
|
||||
this.current = { num: id, label: name, queryType: 'datasource' }
|
||||
if (id) {
|
||||
this.current = { num: id, label: name, queryType: 'datasource' }
|
||||
}
|
||||
this.treeData = []
|
||||
this.dfsTree(arr, id)
|
||||
this.initEchart()
|
||||
|
||||
Reference in New Issue
Block a user