fix: 修复同步飞书数据源出错

This commit is contained in:
taojinlong
2025-03-08 21:48:04 +08:00
committed by taojinlong
parent dbf4730e27
commit e1f36721f1

View File

@@ -353,6 +353,12 @@ const saveItem = () => {
}
}
}
if (isPlugin.value) {
xpackApiItemBasicInfo?.value?.invokeMethod({
methodName: 'resetForm',
args: []
})
}
returnAPIItem('returnItem', cloneDeep(apiItem))
edit_api_item.value = false
}
@@ -483,6 +489,12 @@ const handleSubmit = param => {
const closeEditItem = () => {
cancelMap['/datasource/checkApiDatasource']?.()
if (isPlugin.value) {
xpackApiItemBasicInfo?.value?.invokeMethod({
methodName: 'resetForm',
args: []
})
}
edit_api_item.value = false
}