|
|
@@ -31,7 +31,7 @@ export const musicTypeConfig = {
|
|
|
|
|
|
// 播放音乐函数 - 修改为接受参数而不是直接使用外部变量
|
|
|
export const playMusic = (musicType, state, musicPlayer) => {
|
|
|
- console.log(`尝试播放音乐类型: ${musicType}`);
|
|
|
+ console.log(`播放音乐类型: ${musicType}`);
|
|
|
|
|
|
// 检查是否有对应的音乐配置
|
|
|
if (musicTypeConfig[musicType]) {
|