fix(ui): 视频合成页 BGM 选择后支持清除

This commit is contained in:
小鱼开发
2026-05-27 15:16:11 +08:00
parent 5b804e9d79
commit 784c4faa55
@@ -418,9 +418,21 @@ export default function VideoCompose() {
</div>
</div>
</div>
<button className="btn btn-ghost btn-sm" onClick={e => { e.stopPropagation(); setBgmModalOpen(true); }}>
</button>
<div style={{ display: 'flex', gap: 8 }}>
<button className="btn btn-ghost btn-sm" onClick={e => { e.stopPropagation(); setBgmModalOpen(true); }}>
</button>
<button
className="btn btn-ghost btn-sm"
style={{ color: 'var(--text-secondary)' }}
onClick={e => {
e.stopPropagation();
setBgmMusic(undefined, undefined, undefined);
}}
>
</button>
</div>
</div>
) : (
<div