fix: 修复数据源插件加载问题

This commit is contained in:
taojinlong
2025-03-07 11:38:24 +08:00
committed by taojinlong
parent 7db41bd8bb
commit 3452e6744f

View File

@@ -95,14 +95,6 @@ const selectDsType = (type: string) => {
currentDsType.value = type
activeStep.value = 1
activeApiStep.value = 1
currentTypeList.value
.map(ele => ele.dbList)
.flat()
.some(ele => {
if (ele.type === currentDsType.value) {
isPlugin.value = ele['isPlugin']
}
})
nextTick(() => {
detail?.value?.initForm(type, pluginDs.value, pluginIndex.value, isPlugin.value) ||
xpack?.value?.invokeMethod({