vue3+ts怎么使用APlayer
作者:RainLight
时间:2025-03-30
浏览:3
安装依赖yarnaddaplayer代码APlayer.Vueimporthttpfrom'@/api/http'importAPlayerfrom'APlayer';import'APlayer/dist/APlayer.min.css';importtype{PropType}from'@vue/runtime-core';import{nextTick,onBeforeUnmount,onMounted,ref}from'vue
本文目录
安装依赖
yarn add aplayer
代码
APlayer.Vue
player.ts
import axios from '@/utils/axios'
export class player {
static getSongSheet(server: string, type:String, id: String) {
return axios.get(`https://api.i-meto.com/meting/api?server=${server}&type=${type}&id=${id}&r=${Math.random()}`);
}
}效果图

作者最新文章
安装完wps后office不好用了
2026-11-02 09:50
notebooklm网页版登录入口及电脑端打开方法
2026-10-31 18:42
BoBo浏览器极速版安装与横屏锁定设置教程
2026-10-30 10:24
3dmax玻璃材质贴图怎么操作
2026-10-29 12:35
PDF转图片免费版哪款好用?怎么在线把PDF转换成图片?
2026-10-27 11:50
热门文章
更多
精品专题
更多
Mac软件
更多
WINDOWS
更多




























