mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
fix: bugs
This commit is contained in:
parent
5b6619d1de
commit
6ce9055484
7 changed files with 10 additions and 33 deletions
|
|
@ -46,7 +46,7 @@ export default {
|
|||
};
|
||||
},
|
||||
computed: {
|
||||
...mapState(['showLyrics', 'showLibraryDefault', 'player']),
|
||||
...mapState(['showLyrics', 'settings', 'player']),
|
||||
isAccountLoggedIn() {
|
||||
return isAccountLoggedIn();
|
||||
},
|
||||
|
|
@ -69,7 +69,7 @@ export default {
|
|||
},
|
||||
},
|
||||
created() {
|
||||
this.showLibraryDefault && this.$router.push('/library');
|
||||
this.settings.showLibraryDefault && this.$router.push('/library');
|
||||
if (this.isElectron) ipcRenderer(this);
|
||||
window.addEventListener('keydown', this.handleKeydown);
|
||||
this.fetchData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue