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/configuration/config/automatic/automatic-btn.tsx | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/app/components/app/configuration/config/automatic/automatic-btn.tsx b/app/components/app/configuration/config/automatic/automatic-btn.tsx
index b2d4e30..f709760 100644
--- a/app/components/app/configuration/config/automatic/automatic-btn.tsx
+++ b/app/components/app/configuration/config/automatic/automatic-btn.tsx
@@ -2,10 +2,7 @@
import type { FC } from 'react'
import React from 'react'
import { useTranslation } from 'react-i18next'
-import {
- RiSparklingFill,
-} from '@remixicon/react'
-import Button from '@/app/components/base/button'
+import { Generator } from '@/app/components/base/icons/src/vender/other'
export type IAutomaticBtnProps = {
onClick: () => void
@@ -16,10 +13,12 @@
const { t } = useTranslation()
return (
- <Button variant='secondary-accent' size='small' onClick={onClick}>
- <RiSparklingFill className='mr-1 h-3.5 w-3.5' />
- <span className=''>{t('appDebug.operation.automatic')}</span>
- </Button>
+ <div className='flex space-x-1 items-center !h-8 cursor-pointer'
+ onClick={onClick}
+ >
+ <Generator className='w-3.5 h-3.5 text-indigo-600' />
+ <span className='text-xs font-semibold text-indigo-600'>{t('appDebug.operation.automatic')}</span>
+ </div>
)
}
export default React.memo(AutomaticBtn)
--
Gitblit v1.8.0