mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-18 03:17:29 +08:00
异步组件 优化首屏加载速度
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { IPlayMusicUrl } from "@/type/music";
|
||||
import { ILyric } from "@/type/lyric";
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 根据音乐Id获取音乐播放URl
|
||||
export const getMusicUrl = (id: number) => {
|
||||
return request.get<IPlayMusicUrl>("/song/url", { params: { id: id } });
|
||||
|
||||
Reference in New Issue
Block a user