diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index d5d8c7c37..b719a048c 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -631,7 +631,9 @@ watch( onMounted(() => { setTimeout(() => { - quickInputRef.value.textarea.style.height = '0' + if (quickInputRef.value) { + quickInputRef.value.textarea.style.height = '0' + } }, 1000) }) diff --git a/ui/src/layout/components/breadcrumb/index.vue b/ui/src/layout/components/breadcrumb/index.vue index 1f529ee39..96476fcfb 100644 --- a/ui/src/layout/components/breadcrumb/index.vue +++ b/ui/src/layout/components/breadcrumb/index.vue @@ -161,7 +161,10 @@ function changeMenu(id: string) { router.push({ name: lastMatched.name, params: { id: id } }) } else if (isApplication.value) { const type = list.value?.filter((v) => v.id === id)?.[0]?.type - if (lastMatched.name === 'AppSetting' && type === 'WORK_FLOW') { + if ( + type === 'WORK_FLOW' && + (lastMatched.name === 'AppSetting' || lastMatched.name === 'AppHitTest') + ) { router.push({ path: `/application/${id}/${type}/overview` }) } else { router.push({ diff --git a/ui/src/layout/components/sidebar/SidebarItem.vue b/ui/src/layout/components/sidebar/SidebarItem.vue index 4e2a7e1ab..443bcb2aa 100644 --- a/ui/src/layout/components/sidebar/SidebarItem.vue +++ b/ui/src/layout/components/sidebar/SidebarItem.vue @@ -1,5 +1,5 @@