mirror of
https://github.com/dataease/dataease.git
synced 2026-06-13 01:01:20 +08:00
fix: 添加数据库数据集时,如果第一次选择的数据库A下表较多,在还没加载完成的情况下切换表较少数据库B,这个时候B库下显示的数据表时A库下的表 #6102
This commit is contained in:
@@ -292,6 +292,9 @@ export default {
|
||||
this.activeName = ''
|
||||
this.activeTable = {}
|
||||
const dsName = this.options.find((ele) => ele.id === val).name
|
||||
this.$currentHttpRequestList.forEach((item, key) => {
|
||||
key.indexOf('/datasource/getTables/') > -1 && item('Operation canceled by the user.')
|
||||
})
|
||||
post('/datasource/getTables/' + val, {}).then((response) => {
|
||||
this.tables = response.data
|
||||
this.tables.forEach((ele) => {
|
||||
|
||||
Reference in New Issue
Block a user