From eb422359f90ecb60ab12412042d1239ccabdb94f Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 17 Dec 2025 13:40:53 +0800 Subject: [PATCH] fix: The dialogue function of the layout interface has an incorrect redirect path --- ui/src/views/application-workflow/index.vue | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index 91a8d5f3046..e22d81b612e 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -11,8 +11,7 @@ > {{ $t('workflow.info.saveTime') - }}{{ datetimeFormat(saveTime) }}{{ $t('workflow.info.saveTime') }}{{ datetimeFormat(saveTime) }}
@@ -207,7 +206,10 @@ const urlParams = computed(() => mapToUrlParams(apiInputParams.value) ? '?' + mapToUrlParams(apiInputParams.value) : '', ) const shareUrl = computed( - () => `${window.location.origin}/chat/` + detail.value?.access_token + urlParams.value, + () => + `${window.location.origin}${window.MaxKB.chatPrefix}/` + + detail.value?.access_token + + urlParams.value, ) function back() { @@ -368,9 +370,7 @@ const publish = () => { const node = res.node const err_message = res.errMessage if (typeof err_message == 'string') { - MsgError( - res.node.properties?.stepName + ` ${t('workflow.node')},` + err_message, - ) + MsgError(res.node.properties?.stepName + ` ${t('workflow.node')},` + err_message) } else { const keys = Object.keys(err_message) MsgError( @@ -406,9 +406,7 @@ const clickShowDebug = () => { const node = res.node const err_message = res.errMessage if (typeof err_message == 'string') { - MsgError( - res.node.properties?.stepName + ` ${t('workflow.node')},` + err_message, - ) + MsgError(res.node.properties?.stepName + ` ${t('workflow.node')},` + err_message) } else { const keys = Object.keys(err_message) MsgError(