feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -19,9 +19,12 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
|
||||
// 多选导出:底部悬浮操作条。展示型组件,状态由父级(Playground/index.jsx)持有。
|
||||
|
||||
import {
|
||||
Download as ActionDownload,
|
||||
X as ActionX,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useState } from 'react';
|
||||
import { Button, RadioGroup, Radio } from '@/components/ui';
|
||||
import { Download, X } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
const MessageSelectionBar = ({
|
||||
@@ -76,7 +79,7 @@ const MessageSelectionBar = ({
|
||||
size='small'
|
||||
theme='solid'
|
||||
type='primary'
|
||||
icon={<Download size={14} />}
|
||||
icon={<ActionDownload size={14} />}
|
||||
disabled={selectedCount === 0 || exporting}
|
||||
loading={exporting}
|
||||
onClick={handleExport}
|
||||
@@ -89,7 +92,7 @@ const MessageSelectionBar = ({
|
||||
<Button
|
||||
size='small'
|
||||
theme='borderless'
|
||||
icon={<X size={14} />}
|
||||
icon={<ActionX size={14} />}
|
||||
// 导出进行中禁用「取消」——否则 bar 被关闭但 docx 仍在 await 中,
|
||||
// 最终仍会触发一次下载,对用户体感是「我已经取消了为什么还有文件」。
|
||||
disabled={exporting}
|
||||
|
||||
Reference in New Issue
Block a user