Skip to content

Commit

Permalink
Fix: a bug thanks to updating api
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu188 committed Oct 6, 2020
1 parent 5e23960 commit 3986aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/views/Daily/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default {
methods: {
getSongs () {
getRecommendSongs().then(res => {
this.songs = res.recommend.map(song => {
this.songs = res.data.dailySongs.map(song => {
return normalSong(song)
})
})
Expand Down

0 comments on commit 3986aed

Please sign in to comment.