fix: After modifying the application name and publishing , name was not updated(#2799)

This commit is contained in:
wangdan-fit2cloud 2025-04-08 16:00:24 +08:00 committed by GitHub
parent 9da7a553bf
commit 7a3a975645
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -270,7 +270,7 @@ async function publicHandle() {
const obj = {
work_flow: getGraphData()
}
await application.asyncPutApplication(id, obj)
await application.asyncPutApplication(id, obj, loading)
const workflow = new WorkFlowInstance(obj.work_flow)
try {
workflow.is_valid()
@ -280,6 +280,7 @@ async function publicHandle() {
}
applicationApi.putPublishApplication(id as String, obj, loading).then(() => {
MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess'))
getDetail()
})
})
.catch((res: any) => {