Merge pull request #4716 from dataease/pr@dev_memory_component

Pr@dev memory component
This commit is contained in:
dataeaseShu
2023-03-07 18:48:31 +08:00
committed by GitHub

View File

@@ -911,8 +911,9 @@ export default {
},
initTableInfo() {
if (this.param.tableId) {
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()