mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
fix: bugs
This commit is contained in:
parent
fc08992244
commit
2f0e8e1e24
4 changed files with 35 additions and 20 deletions
|
|
@ -168,7 +168,11 @@ export default {
|
|||
window.open("https://github.com/qier222/YesPlayMusic");
|
||||
},
|
||||
toLogin() {
|
||||
this.$router.push({ name: "login" });
|
||||
if (process.env.IS_ELECTRON === true) {
|
||||
this.$router.push({ name: "loginAccount" });
|
||||
} else {
|
||||
this.$router.push({ name: "login" });
|
||||
}
|
||||
},
|
||||
windowMinimize() {
|
||||
ipcRenderer.send("minimize");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue