feat: 添加新的歌手详情页面

This commit is contained in:
alger
2025-03-29 20:52:50 +08:00
parent 2924ad6c18
commit dfb8f55fba
9 changed files with 389 additions and 38 deletions
+17
View File
@@ -0,0 +1,17 @@
import { useRouter } from 'vue-router';
export const useArtist = () => {
const router = useRouter();
/**
* 跳转到歌手详情页
* @param id 歌手ID
*/
const navigateToArtist = (id: number) => {
router.push(`/artist/detail/${id}`);
};
return {
navigateToArtist
};
};