fix: bugs

This commit is contained in:
qier222 2021-06-09 20:53:33 +08:00
parent e54c606c6d
commit f3076f21b2
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
13 changed files with 32 additions and 36 deletions

View file

@ -137,7 +137,6 @@ import locale from '@/locale';
import { splitSoundtrackAlbumTitle, splitAlbumTitle } from '@/utils/common';
import NProgress from 'nprogress';
import { isAccountLoggedIn } from '@/utils/auth';
import { disableScrolling, enableScrolling } from '@/utils/ui';
import ExplicitSymbol from '@/components/ExplicitSymbol.vue';
import ButtonTwoTone from '@/components/ButtonTwoTone.vue';
@ -279,9 +278,9 @@ export default {
toggleFullDescription() {
this.showFullDescription = !this.showFullDescription;
if (this.showFullDescription) {
disableScrolling();
this.$store.commit('enableScrolling', false);
} else {
enableScrolling();
this.$store.commit('enableScrolling', true);
}
},
openMenu(e) {