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

This commit is contained in:
dataeaseShu 2023-03-07 18:45:39 +08:00
parent 866b696fbd
commit fe14ddc2a9

View File

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