更新依赖项及历史人物相关内容资源

- 更新 package.json 和 package-lock.json 中的依赖项
- 新增/更新陈云、黄炎培、鲁迅、孙中山的音频文件
- 新增场景和组件的图片资源
- 清理未使用的音频和图片文件
- 优化多个组件和页面的实现逻辑
This commit is contained in:
zhongyidian committed 2026-04-20 13:27:18 +08:00
1 parent b1d55b9464
commit e0fa47d21a
629 files changed
+24390 -2991

No files matched your search

+2 -2
View File
@@ -453,7 +453,7 @@ const DragFill = forwardRef<HTMLDivElement, DragFillProps>(
)}
>
{renderOption
? renderOption(option, isUsed)
? renderOption(option, isUsed, isDragging)
: defaultRenderOption(option, isUsed)}
</div>
)
@@ -515,7 +515,7 @@ const DragFill = forwardRef<HTMLDivElement, DragFillProps>(
dragPosition &&
createPortal(
<div
className="fixed pointer-events-none z-[99999]"
className="fixed pointer-events-none z-99999"
style={{
left: dragPosition.x,
top: dragPosition.y,
@@ -61,7 +61,7 @@ export interface DragFillProps {
/** 是否显示提交按钮 */
showSubmitButton?: boolean
/** 自定义渲染选项 */
renderOption?: (option: DragFillOption, isUsed: boolean) => ReactNode
renderOption?: (option: DragFillOption, isUsed: boolean, isDragging: boolean) => ReactNode
/** 自定义渲染空白区域 */
renderBlank?: (blank: DragFillBlank, filledValue: string | null, isHovered: boolean) => ReactNode
/** 自定义渲染拖拽中的元素 */