From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/app/log-annotation/index.tsx | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/components/app/log-annotation/index.tsx b/app/components/app/log-annotation/index.tsx
index 12a611e..696cc19 100644
--- a/app/components/app/log-annotation/index.tsx
+++ b/app/components/app/log-annotation/index.tsx
@@ -30,7 +30,7 @@
{ value: PageType.log, text: t('appLog.title') },
{ value: PageType.annotation, text: t('appAnnotation.title') },
]
- }, [appDetail?.mode, t])
+ }, [appDetail])
if (!appDetail) {
return (
@@ -41,7 +41,7 @@
}
return (
- <div className='flex h-full flex-col px-6 pt-3'>
+ <div className='pt-3 px-6 h-full flex flex-col'>
{appDetail.mode !== 'workflow' && (
<TabSlider
className='shrink-0'
@@ -52,7 +52,7 @@
options={options}
/>
)}
- <div className={cn('h-0 grow', appDetail.mode !== 'workflow' && 'mt-3')}>
+ <div className={cn('grow h-0', appDetail.mode !== 'workflow' && 'mt-3')}>
{pageType === PageType.log && appDetail.mode !== 'workflow' && (<Log appDetail={appDetail} />)}
{pageType === PageType.annotation && (<Annotation appDetail={appDetail} />)}
{pageType === PageType.log && appDetail.mode === 'workflow' && (<WorkflowLog appDetail={appDetail} />)}
--
Gitblit v1.8.0