fix: 完善前端事件处理逻辑
- 移除handleStartImport中的手动完成状态设置 - 完全依赖事件监听器处理导入完成状态 - 优化日志输出和错误处理 - 确保异步导入流程的一致性
This commit is contained in:
parent
44b4084eb9
commit
ae854ef871
|
|
@ -402,7 +402,6 @@ export const MaterialImportDialog: React.FC<MaterialImportDialogProps> = ({
|
|||
<div className="relative">
|
||||
<div className="w-20 h-20 mx-auto mb-6">
|
||||
<div className="absolute inset-0 border-4 border-blue-200 rounded-full"></div>
|
||||
<div className="absolute inset-0 border-4 border-blue-600 rounded-full border-t-transparent animate-spin"></div>
|
||||
<div className="absolute inset-2 flex items-center justify-center">
|
||||
<Upload className="w-8 h-8 text-blue-600" />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue