mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
fix: bugs
fix: bugs
This commit is contained in:
parent
1444bbefa2
commit
70d1de0e0f
62 changed files with 368 additions and 284 deletions
|
|
@ -2,10 +2,11 @@ import {
|
|||
PlaylistApiNames,
|
||||
fetchRecommendedPlaylists,
|
||||
fetchDailyRecommendPlaylists,
|
||||
} from '@/api/playlist'
|
||||
import CoverRow from '@/components/CoverRow'
|
||||
import DailyTracksCard from '@/components/DailyTracksCard'
|
||||
import FMCard from '@/components/FMCard'
|
||||
} from '@/renderer/api/playlist'
|
||||
import CoverRow from '@/renderer/components/CoverRow'
|
||||
import DailyTracksCard from '@/renderer/components/DailyTracksCard'
|
||||
import FMCard from '@/renderer/components/FMCard'
|
||||
import { IpcChannels } from '@/main/IpcChannelsName'
|
||||
|
||||
export default function Home() {
|
||||
const {
|
||||
|
|
@ -17,7 +18,7 @@ export default function Home() {
|
|||
{
|
||||
retry: false,
|
||||
placeholderData: () =>
|
||||
window.ipcRenderer?.sendSync('getApiCacheSync', {
|
||||
window.ipcRenderer?.sendSync(IpcChannels.GetApiCacheSync, {
|
||||
api: 'recommend/resource',
|
||||
}),
|
||||
}
|
||||
|
|
@ -33,7 +34,7 @@ export default function Home() {
|
|||
},
|
||||
{
|
||||
placeholderData: () =>
|
||||
window.ipcRenderer?.sendSync('getApiCacheSync', {
|
||||
window.ipcRenderer?.sendSync(IpcChannels.GetApiCacheSync, {
|
||||
api: 'personalized',
|
||||
}),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue