feat: 增加用户关注列表 和 用户详情页

This commit is contained in:
alger
2025-03-24 22:54:04 +08:00
parent 9f5bac29a0
commit 2924ad6c18
13 changed files with 1059 additions and 16 deletions
-2
View File
@@ -26,9 +26,7 @@ const api = {
},
// 语言相关
onLanguageChanged: (callback: (locale: string) => void) => {
console.log('注册语言变更监听器');
ipcRenderer.on('language-changed', (_event, locale) => {
console.log('收到语言变更事件:', locale);
callback(locale);
});
},