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