Commit 2511f32c by lizhixian

fix: 修复bpm相关bug

parent a0b90bd9
...@@ -76,4 +76,3 @@ export const deployModel = async (id: number) => { ...@@ -76,4 +76,3 @@ export const deployModel = async (id: number) => {
export const cleanModel = async (id: number) => { export const cleanModel = async (id: number) => {
return await request.delete({ url: '/bpm/model/clean?id=' + id }) return await request.delete({ url: '/bpm/model/clean?id=' + id })
} }
...@@ -337,7 +337,10 @@ const handleDeploy = async () => { ...@@ -337,7 +337,10 @@ const handleDeploy = async () => {
message.success('发布成功') message.success('发布成功')
// 返回列表页 // 返回列表页
await router.push({ name: 'BpmModel' }) await router.push({ name: 'BpmModel' })
} catch (error: any) {} } catch (error: any) {
console.error('发布失败:', error)
message.warning(error.message || '发布失败')
}
} }
/** 步骤切换处理 */ /** 步骤切换处理 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment