mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
fix: bugs
This commit is contained in:
parent
9ccce5b468
commit
f1e3d8ebf0
7 changed files with 54 additions and 23 deletions
|
|
@ -32,6 +32,7 @@
|
|||
import Modal from '@/components/Modal.vue';
|
||||
import { mapMutations, mapState } from 'vuex';
|
||||
import { createPlaylist, addOrRemoveTrackFromPlaylist } from '@/api/playlist';
|
||||
import { disableScrolling, enableScrolling } from '@/utils/ui';
|
||||
|
||||
export default {
|
||||
name: 'ModalNewPlaylist',
|
||||
|
|
@ -56,6 +57,11 @@ export default {
|
|||
key: 'show',
|
||||
value,
|
||||
});
|
||||
if (value) {
|
||||
disableScrolling();
|
||||
} else {
|
||||
enableScrolling();
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue