fix: SQL数据集加载数据异常

This commit is contained in:
dataeaseShu 2023-03-07 18:43:29 +08:00
parent 73b0c3090b
commit 866b696fbd

View File

@ -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