diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index d3d3872fb..f9a309839 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -279,8 +279,11 @@ async function publicHandle() { return } applicationApi.putPublishApplication(id as String, obj, loading).then(() => { - MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess')) - getDetail() + + application.asyncGetApplicationDetail(id, loading).then((res: any) => { + detail.value.name = res.data.name + MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess')) + }) }) }) .catch((res: any) => { diff --git a/ui/src/workflow/nodes/condition-node/index.vue b/ui/src/workflow/nodes/condition-node/index.vue index 41ada1b5f..f5044ae95 100644 --- a/ui/src/workflow/nodes/condition-node/index.vue +++ b/ui/src/workflow/nodes/condition-node/index.vue @@ -245,7 +245,7 @@ const validate = () => { } function onEnd(event?: any) { - const { oldIndex, newIndex, clonedData } = event + const { oldIndex, newIndex } = event if (oldIndex === undefined || newIndex === undefined) return const list = cloneDeep(props.nodeModel.properties.node_data.branch) if (oldIndex === list.length - 1 || newIndex === list.length - 1) {