🌈 style: 优化类型

This commit is contained in:
alger
2024-05-21 11:01:23 +08:00
parent e4c1f855fb
commit c37ad07f93
9 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ const loadPlaylistCategory = async () => {
};
const router = useRouter();
const handleClickPlaylistType = (type: any) => {
const handleClickPlaylistType = (type: string) => {
router.push({
path: '/list',
query: {
+1 -1
View File
@@ -61,7 +61,7 @@ const isPlaying = computed(() => {
const emits = defineEmits(['play']);
// 播放音乐 设置音乐详情 打开音乐底栏
const playMusicEvent = async (item: any) => {
const playMusicEvent = async (item: SongResult) => {
if (playMusic.value.id === item.id) {
return;
}