fix:修复了清除缓存功能的缺失

This commit is contained in:
xuncha committed 2026-01-17 02:45:10 +08:00
1 parent afa3e089b1
commit 095c8f0db6
9 files changed
+215 -7

No files matched your search

+7
View File
@@ -140,6 +140,13 @@ contextBridge.exposeInMainWorld('electronAPI', {
}
},
// 缓存管理
cache: {
clearAnalytics: () => ipcRenderer.invoke('cache:clearAnalytics'),
clearImages: () => ipcRenderer.invoke('cache:clearImages'),
clearAll: () => ipcRenderer.invoke('cache:clearAll')
},
// 群聊分析
groupAnalytics: {
getGroupChats: () => ipcRenderer.invoke('groupAnalytics:getGroupChats'),