mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
fix: bugs
This commit is contained in:
parent
e54c606c6d
commit
f3076f21b2
13 changed files with 32 additions and 36 deletions
|
|
@ -2,7 +2,11 @@
|
|||
<div id="app" :class="{ 'user-select-none': userSelectNone }">
|
||||
<Scrollbar v-show="!showLyrics" ref="scrollbar" />
|
||||
<Navbar v-show="showNavbar" ref="navbar" />
|
||||
<main ref="main" @scroll="handleScroll">
|
||||
<main
|
||||
ref="main"
|
||||
:style="{ overflow: enableScrolling ? 'auto' : 'hidden' }"
|
||||
@scroll="handleScroll"
|
||||
>
|
||||
<keep-alive>
|
||||
<router-view v-if="$route.meta.keepAlive"></router-view>
|
||||
</keep-alive>
|
||||
|
|
@ -50,7 +54,7 @@ export default {
|
|||
};
|
||||
},
|
||||
computed: {
|
||||
...mapState(['showLyrics', 'settings', 'player']),
|
||||
...mapState(['showLyrics', 'settings', 'player', 'enableScrolling']),
|
||||
isAccountLoggedIn() {
|
||||
return isAccountLoggedIn();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue