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/datasets/documents/detail/completed/common/action-buttons.tsx | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app/components/datasets/documents/detail/completed/common/action-buttons.tsx b/app/components/datasets/documents/detail/completed/common/action-buttons.tsx
index fd0a072..1238d98 100644
--- a/app/components/datasets/documents/detail/completed/common/action-buttons.tsx
+++ b/app/components/datasets/documents/detail/completed/common/action-buttons.tsx
@@ -36,8 +36,8 @@
if (loading)
return
handleSave()
- },
- { exactMatch: true, useCapture: true })
+ }
+ , { exactMatch: true, useCapture: true })
const isParentChildParagraphMode = useMemo(() => {
return mode === 'hierarchical' && parentMode === 'paragraph'
@@ -49,8 +49,8 @@
onClick={handleCancel}
>
<div className='flex items-center gap-x-1'>
- <span className='system-sm-medium text-components-button-secondary-text'>{t('common.operation.cancel')}</span>
- <span className='system-kbd rounded-[4px] bg-components-kbd-bg-gray px-[1px] text-text-tertiary'>ESC</span>
+ <span className='text-components-button-secondary-text system-sm-medium'>{t('common.operation.cancel')}</span>
+ <span className='px-[1px] bg-components-kbd-bg-gray rounded-[4px] text-text-tertiary system-kbd'>ESC</span>
</div>
</Button>
{(isParentChildParagraphMode && actionType === 'edit' && !isChildChunk)
@@ -58,7 +58,7 @@
onClick={handleRegeneration}
disabled={loading}
>
- <span className='system-sm-medium text-components-button-secondary-text'>
+ <span className='text-components-button-secondary-text system-sm-medium'>
{t('common.operation.saveAndRegenerate')}
</span>
</Button>
@@ -72,8 +72,8 @@
<div className='flex items-center gap-x-1'>
<span className='text-components-button-primary-text'>{t('common.operation.save')}</span>
<div className='flex items-center gap-x-0.5'>
- <span className='system-kbd h-4 w-4 rounded-[4px] bg-components-kbd-bg-white capitalize text-text-primary-on-surface'>{getKeyboardKeyNameBySystem('ctrl')}</span>
- <span className='system-kbd h-4 w-4 rounded-[4px] bg-components-kbd-bg-white text-text-primary-on-surface'>S</span>
+ <span className='w-4 h-4 bg-components-kbd-bg-white rounded-[4px] text-text-primary-on-surface system-kbd capitalize'>{getKeyboardKeyNameBySystem('ctrl')}</span>
+ <span className='w-4 h-4 bg-components-kbd-bg-white rounded-[4px] text-text-primary-on-surface system-kbd'>S</span>
</div>
</div>
</Button>
--
Gitblit v1.8.0