fix: SQL数据集加载数据异常
This commit is contained in:
parent
866b696fbd
commit
fe14ddc2a9
@ -911,8 +911,9 @@ export default {
|
||||
},
|
||||
|
||||
initTableInfo() {
|
||||
if (this.param.tableId || this.$route.query.id) {
|
||||
getTable(this.param.tableId).then((response) => {
|
||||
const tableId = this.param.tableId || this.$route.query.id
|
||||
if (tableId) {
|
||||
getTable(tableId).then((response) => {
|
||||
const table = response.data
|
||||
this.dataSource = table.dataSourceId
|
||||
this.changeDatasource()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user