fix: sql 数据集先选定时同步后选数据源类型

This commit is contained in:
taojinlong 2022-03-31 22:56:54 +08:00
parent f13d0319a7
commit b93847a5b4

View File

@ -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 {