fix: After modifying the application name and publishing , name was not updated(#2799)
This commit is contained in:
parent
9da7a553bf
commit
7a3a975645
@ -270,7 +270,7 @@ async function publicHandle() {
|
|||||||
const obj = {
|
const obj = {
|
||||||
work_flow: getGraphData()
|
work_flow: getGraphData()
|
||||||
}
|
}
|
||||||
await application.asyncPutApplication(id, obj)
|
await application.asyncPutApplication(id, obj, loading)
|
||||||
const workflow = new WorkFlowInstance(obj.work_flow)
|
const workflow = new WorkFlowInstance(obj.work_flow)
|
||||||
try {
|
try {
|
||||||
workflow.is_valid()
|
workflow.is_valid()
|
||||||
@ -280,6 +280,7 @@ async function publicHandle() {
|
|||||||
}
|
}
|
||||||
applicationApi.putPublishApplication(id as String, obj, loading).then(() => {
|
applicationApi.putPublishApplication(id as String, obj, loading).then(() => {
|
||||||
MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess'))
|
MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess'))
|
||||||
|
getDetail()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.catch((res: any) => {
|
.catch((res: any) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user