mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 23:40:05 +00:00
swap to generated api code and composables
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps } from 'vue'
|
||||
import { useAudioStore } from '@/stores/audioStore';
|
||||
import { useUserStore } from '@/stores/userStore';
|
||||
import { useAudio } from '@/composables/useAudio';
|
||||
import type { Song } from '@/script/types';
|
||||
|
||||
const props = defineProps<{
|
||||
@@ -10,8 +8,7 @@ const props = defineProps<{
|
||||
info?: string,
|
||||
border?: string,
|
||||
}>();
|
||||
const userStore = useUserStore();
|
||||
const audioStore = useAudioStore();
|
||||
const audioStore = useAudio();
|
||||
|
||||
function updateSong() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user