feat(settings): add show music library default setting (#549)

* feat(settings): add show music library default setting

resolve #301

* adj zh-cn text

Co-authored-by: qier222 <qier2222@gmail.com>
This commit is contained in:
Map1en_ 2021-04-19 10:44:59 +08:00 committed by GitHub
parent 9ae15c198d
commit 9708064d26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 0 deletions

View file

@ -70,6 +70,8 @@ export default {
},
},
created() {
this.$store.state.settings.showLibraryDefault &&
this.$router.push("/library");
if (this.isElectron) {
ipcRenderer(this);
}