mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-24 08:07:23 +08:00
✨ feat: 增加用户关注列表 和 用户详情页
This commit is contained in:
@@ -26,9 +26,7 @@ const api = {
|
||||
},
|
||||
// 语言相关
|
||||
onLanguageChanged: (callback: (locale: string) => void) => {
|
||||
console.log('注册语言变更监听器');
|
||||
ipcRenderer.on('language-changed', (_event, locale) => {
|
||||
console.log('收到语言变更事件:', locale);
|
||||
callback(locale);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user