perf: modal

This commit is contained in:
archer
2023-07-27 14:36:21 +08:00
parent 1c4d2e92cf
commit aebe789e9f
7 changed files with 40 additions and 21 deletions

View File

@@ -61,13 +61,21 @@ const QuoteModal = ({
return (
<>
<MyModal isOpen={true} onClose={onClose} h={'80vh'}>
<ModalHeader>
({rawSearch.length})
<Box fontSize={'sm'} fontWeight={'normal'}>
注意: 修改知识库内容成功后
</Box>
</ModalHeader>
<MyModal
isOpen={true}
onClose={onClose}
h={['90vh', '80vh']}
isCentered
minW={['90vw', '600px']}
title={
<>
({rawSearch.length})
<Box fontSize={['xs', 'sm']} fontWeight={'normal'}>
注意: 修改知识库内容成功后
</Box>
</>
}
>
<ModalCloseButton />
<ModalBody pt={0} whiteSpace={'pre-wrap'} textAlign={'justify'} fontSize={'sm'}>
{rawSearch.map((item) => (