mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-24 08:07:23 +08:00
🌈 style: 优化类型
This commit is contained in:
@@ -54,7 +54,7 @@ watch(
|
||||
},
|
||||
);
|
||||
|
||||
const iconStyle = (index: any) => {
|
||||
const iconStyle = (index: number) => {
|
||||
const style = {
|
||||
fontSize: props.size,
|
||||
color: path.value === props.menus[index].path ? props.selectColor : props.color,
|
||||
|
||||
@@ -184,7 +184,7 @@ function handlePrev() {
|
||||
|
||||
const MusicFullRef = ref<any>(null);
|
||||
|
||||
function handleGetAudioTime(this: any) {
|
||||
function handleGetAudioTime(this: HTMLAudioElement) {
|
||||
// 监听音频播放的实时时间事件
|
||||
const audio = this as HTMLAudioElement;
|
||||
// 获取当前播放时间
|
||||
|
||||
Reference in New Issue
Block a user