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()}`);
}
}效果图

作者最新文章
Yandex官网入口及最新访问地址
2026-11-14 12:49
微博怎么成为铁粉:绑定手机号与30天互动规则详解
2026-11-09 17:59
安装完wps后office不好用了
2026-11-02 09:50
notebooklm网页版登录入口及电脑端打开方法
2026-10-31 18:42
BoBo浏览器极速版安装与横屏锁定设置教程
2026-10-30 10:24
热门文章
更多
精品专题
更多
Mac软件
更多
WINDOWS
更多




























