From 6a47e0cb4054020f913f2da8620e73136f0841ca Mon Sep 17 00:00:00 2001 From: qier222 Date: Wed, 4 Nov 2020 23:30:42 +0800 Subject: [PATCH] fix: improvements --- src/store/mutations.js | 1 + src/views/album.vue | 11 +++++++---- src/views/playlist.vue | 16 +++++++++++++++- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/store/mutations.js b/src/store/mutations.js index af3245d..bb1aa65 100644 --- a/src/store/mutations.js +++ b/src/store/mutations.js @@ -14,6 +14,7 @@ export default { src: [mp3], autoplay: true, html5: true, + format: ["mp3", "flac"], }); state.howler.play(); }, diff --git a/src/views/album.vue b/src/views/album.vue index c0471a2..6641792 100644 --- a/src/views/album.vue +++ b/src/views/album.vue @@ -14,10 +14,13 @@
{{ title }}
{{ subtitle }}
- {{ album.type | formatAlbumType(album) }} by {{ - album.artist.name - }} + + {{ album.type | formatAlbumType(album) }} by {{ + album.artist.name + }} + Compilation by Various Artists
-
{{ playlist.name }}
+
+ {{ playlist.name }}
Playlist by