mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix: 修复同步飞书数据源出错
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user