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
|
|
@ -32,7 +32,6 @@ import { mapActions, mapMutations, mapState } from 'vuex';
|
|||
import Modal from '@/components/Modal.vue';
|
||||
import locale from '@/locale';
|
||||
import { addOrRemoveTrackFromPlaylist } from '@/api/playlist';
|
||||
import { disableScrolling, enableScrolling } from '@/utils/ui';
|
||||
|
||||
export default {
|
||||
name: 'ModalAddTrackToPlaylist',
|
||||
|
|
@ -57,9 +56,9 @@ export default {
|
|||
value,
|
||||
});
|
||||
if (value) {
|
||||
disableScrolling();
|
||||
this.$store.commit('enableScrolling', false);
|
||||
} else {
|
||||
enableScrolling();
|
||||
this.$store.commit('enableScrolling', true);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue