mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 15:47:23 +08:00
🦄 refactor(MusicList): 重构播放列表组件
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<div class="bottom" v-if="isPlay"></div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import { useStore } from 'vuex';
|
||||
const store = useStore()
|
||||
const isPlay = computed(() => store.state.isPlay as boolean)
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.bottom{
|
||||
@apply h-28;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user