mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: 支持缓存歌词和一些小更新
This commit is contained in:
parent
abedbe7531
commit
1eb38937fc
11 changed files with 44 additions and 18 deletions
|
|
@ -29,6 +29,7 @@ export default function useUserPlaylists() {
|
|||
params.uid !== 0 &&
|
||||
params.offset !== undefined
|
||||
),
|
||||
refetchOnWindowFocus: true,
|
||||
placeholderData: (): FetchUserPlaylistsResponse =>
|
||||
window.ipcRenderer?.sendSync('getApiCacheSync', {
|
||||
api: 'user/playlist',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue