From f554205f87e00ede2e75534f0a5270dedc9b728a Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Mon, 14 Jul 2025 14:33:30 +0800 Subject: [PATCH] fix: expired tip --- .../ai-chat/component/answer-content/index.vue | 6 +----- ui/src/layout/layout-template/MainLayout.vue | 12 ++++++++++-- ui/src/layout/layout-template/SimpleLayout.vue | 12 ++++++++++-- ui/src/layout/layout-template/SystemMainLayout.vue | 12 ++++++++++-- 4 files changed, 31 insertions(+), 11 deletions(-) diff --git a/ui/src/components/ai-chat/component/answer-content/index.vue b/ui/src/components/ai-chat/component/answer-content/index.vue index 42e4da451..9feb36a82 100644 --- a/ui/src/components/ai-chat/component/answer-content/index.vue +++ b/ui/src/components/ai-chat/component/answer-content/index.vue @@ -148,11 +148,7 @@ function showSource(row: any) { if (props.type === 'log') { return true } else if (row.write_ed && 500 !== row.status) { - if ( - props.type === 'debug-ai-chat' || - props.application?.show_source || - props.application?.show_exec - ) { + if (props.type === 'debug-ai-chat') { return true } } diff --git a/ui/src/layout/layout-template/MainLayout.vue b/ui/src/layout/layout-template/MainLayout.vue index b34a8d871..6a8f4cce1 100644 --- a/ui/src/layout/layout-template/MainLayout.vue +++ b/ui/src/layout/layout-template/MainLayout.vue @@ -1,10 +1,18 @@