forked from github/dataease
fix: sql 数据集先选定时同步后选数据源类型
This commit is contained in:
parent
f13d0319a7
commit
b93847a5b4
@ -205,6 +205,7 @@ export default {
|
||||
for (let i = 0; i < this.options.length; i++) {
|
||||
if (this.options[i].id === this.dataSource) {
|
||||
this.selectedDatasource = this.options[i]
|
||||
this.mode = '0'
|
||||
if (this.engineMode === 'simple' || (!this.kettleRunning || this.disabledSyncDs.indexOf(this.selectedDatasource.type) !== -1 )) {
|
||||
this.disabledSync = true
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user