diff --git a/src/App.vue b/src/App.vue index 68d2f1e..d834651 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,18 +11,14 @@ - "> + + @@ -55,6 +51,13 @@ export default { isAccountLoggedIn() { return isAccountLoggedIn(); }, + showPlayer() { + return ( + ["mv", "loginUsername", "login", "loginAccount"].includes( + this.$route.name + ) === false + ); + }, }, created() { if (this.isElectron) { diff --git a/src/components/Player.vue b/src/components/Player.vue index e87b5a2..b26035a 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -21,7 +21,7 @@ :src="currentTrack.al && currentTrack.al.picUrl | resizeImage(224)" @click="goToAlbum" /> -