feat: 优化存储过程数据集,在切换数据源的时候,如果sql编辑器内容不是初始化内容的时候,不予清空

main
wu.jian2 2 years ago
parent 2c746c7ee3
commit d2eb99ce5f

@ -798,12 +798,16 @@ export default {
for (let i = 0; i < this.sourceList.length; i++) {
if (this.sourceList[i].id === v) {
if (this.sourceList[i].sourceType === 'sqlserver') {
if (this.dataForm.sqlProcess === 'call ') {
this.dataForm.sqlProcess = 'exec '
}
} else {
if (this.dataForm.sqlProcess === 'exec ') {
this.dataForm.sqlProcess = 'call '
}
}
}
}
},
/**
* 打开参数配置弹窗

Loading…
Cancel
Save