修复postgres导入

This commit is contained in:
mtvpls
2026-02-10 20:10:17 +08:00
parent e0606d0b8b
commit 22b9242e39
2 changed files with 29 additions and 0 deletions
+7
View File
@@ -359,6 +359,13 @@ export default function MusicPage() {
}
}, [playRecords, pendingSongToPlay]);
// 同步音量状态到 audio 元素
useEffect(() => {
if (audioRef.current) {
audioRef.current.volume = volume / 100;
}
}, [volume]);
// 执行前端 transform(用于 Cloudflare 环境)
const executeTransform = (data: any) => {
if (data && typeof data === 'object' && data.__transform) {