refactor: 提取组件,优化代码

This commit is contained in:
LOG1997
2025-09-30 22:47:36 +08:00
parent 7ea677f029
commit 5b2c1df401
14 changed files with 1219 additions and 1066 deletions

View File

@@ -1,10 +1,10 @@
<script setup lang="ts">
import PlayMusic from '@/components/PlayMusic/index.vue'
import useStore from '@/store'
import { themeChange } from '@/utils'
import { storeToRefs } from 'pinia'
import { onMounted, ref } from 'vue'
import { useI18n } from 'vue-i18n'
import PlayMusic from '@/components/PlayMusic/index.vue'
import useStore from '@/store'
import { themeChange } from '@/utils'
const { t } = useI18n()
const globalConfig = useStore().globalConfig