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
commit 736dd7ea0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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