vue3+ts怎么使用APlayer
作者:RainLight
时间:2025-03-30
浏览:1
安装依赖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()}`);
}
}效果图

作者最新文章
漫蛙2漫画app免费下载安卓版
2026-10-13 13:19
音述AI生成歌曲如何一键制作歌词MV
2026-10-10 13:59
photoshop图层样式在哪
2026-10-04 13:45
photoshop路径工具在哪 怎么用
2026-09-16 13:46
安装python3:后端开发环境配置、验证与排错决策
2026-09-05 09:30
热门文章
更多
精品专题
更多
Mac软件
更多
WINDOWS
更多





































