mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
Fix: The button styles in the PaddleOCR dialog are not applying correctly. (#14350)
### What problem does this PR solve? Fix: The button styles in the PaddleOCR dialog are not applying correctly. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
1431
web/package-lock.json
generated
1431
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -30,8 +30,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^5.2.6",
|
||||
"@ant-design/pro-components": "^2.6.46",
|
||||
"@ant-design/pro-layout": "^7.17.16",
|
||||
"@antv/g2": "^5.2.10",
|
||||
"@antv/g6": "^5.1.0",
|
||||
"@floating-ui/react": "^0.27.19",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { RAGFlowFormItem } from '@/components/ragflow-form';
|
||||
import { Button, ButtonLoading } from '@/components/ui/button';
|
||||
import {
|
||||
Dialog,
|
||||
DialogContent,
|
||||
@@ -128,20 +129,12 @@ const PaddleOCRModal = ({
|
||||
)}
|
||||
<DialogFooter>
|
||||
<div className="flex justify-end space-x-2">
|
||||
<button
|
||||
type="button"
|
||||
onClick={hideModal}
|
||||
className="btn btn-secondary"
|
||||
>
|
||||
<Button type="button" onClick={hideModal} variant={'outline'}>
|
||||
{t('common.cancel')}
|
||||
</button>
|
||||
<button
|
||||
type="submit"
|
||||
disabled={loading}
|
||||
className="btn btn-primary"
|
||||
>
|
||||
{t('common.add')}
|
||||
</button>
|
||||
</Button>
|
||||
<ButtonLoading type="submit" loading={loading}>
|
||||
{t('common.ok')}
|
||||
</ButtonLoading>
|
||||
</div>
|
||||
</DialogFooter>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user