mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-24 22:03:54 +00:00
Perf: vector queue and app ui (#1750)
This commit is contained in:
@@ -100,6 +100,7 @@ export const useConfirm = (props?: {
|
||||
onClose();
|
||||
typeof cancelCb.current === 'function' && cancelCb.current();
|
||||
}}
|
||||
px={5}
|
||||
>
|
||||
{closeText}
|
||||
</Button>
|
||||
@@ -109,8 +110,9 @@ export const useConfirm = (props?: {
|
||||
size={'sm'}
|
||||
bg={bg ? bg : map.bg}
|
||||
isDisabled={countDownAmount > 0}
|
||||
ml={4}
|
||||
ml={3}
|
||||
isLoading={isLoading || requesting}
|
||||
px={5}
|
||||
onClick={async () => {
|
||||
setRequesting(true);
|
||||
try {
|
||||
|
@@ -115,7 +115,9 @@ export const useEditTextarea = ({
|
||||
{closeBtnText}
|
||||
</Button>
|
||||
)}
|
||||
<Button onClick={onclickConfirm}>{t('common.Confirm')}</Button>
|
||||
<Button onClick={onclickConfirm} px={6}>
|
||||
{t('common.Confirm')}
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
</MyModal>
|
||||
),
|
||||
|
Reference in New Issue
Block a user