Skip to content

Commit 2511f32

Browse files
committed
fix: 修复bpm相关bug
1 parent a0b90bd commit 2511f32

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/api/bpm/model/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,3 @@ export const deployModel = async (id: number) => {
7676
export const cleanModel = async (id: number) => {
7777
return await request.delete({ url: '/bpm/model/clean?id=' + id })
7878
}
79-

src/views/bpm/model/form/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,10 @@ const handleDeploy = async () => {
337337
message.success('发布成功')
338338
// 返回列表页
339339
await router.push({ name: 'BpmModel' })
340-
} catch (error: any) {}
340+
} catch (error: any) {
341+
console.error('发布失败:', error)
342+
message.warning(error.message || '发布失败')
343+
}
341344
}
342345
343346
/** 步骤切换处理 */

0 commit comments

Comments
 (0)