Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2511f32c
authored
Feb 13, 2025
by
lizhixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复bpm相关bug
parent
a0b90bd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/api/bpm/model/index.ts
+0
-1
src/views/bpm/model/form/index.vue
+4
-1
No files found.
src/api/bpm/model/index.ts
View file @
2511f32c
...
...
@@ -76,4 +76,3 @@ export const deployModel = async (id: number) => {
export
const
cleanModel
=
async
(
id
:
number
)
=>
{
return
await
request
.
delete
({
url
:
'/bpm/model/clean?id='
+
id
})
}
src/views/bpm/model/form/index.vue
View file @
2511f32c
...
...
@@ -337,7 +337,10 @@ const handleDeploy = async () => {
message
.
success
(
'发布成功'
)
// 返回列表页
await
router
.
push
({
name
:
'BpmModel'
})
}
catch
(
error
:
any
)
{}
}
catch
(
error
:
any
)
{
console
.
error
(
'发布失败:'
,
error
)
message
.
warning
(
error
.
message
||
'发布失败'
)
}
}
/** 步骤切换处理 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment