mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-24 16:27:23 +08:00
可以播放了
This commit is contained in:
@@ -21,6 +21,13 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref } from "@vue/runtime-core";
|
||||
import type { PropType } from "vue";
|
||||
|
||||
interface AppMenuItem {
|
||||
href: string;
|
||||
icon: string;
|
||||
text: string;
|
||||
}
|
||||
|
||||
const props = defineProps({
|
||||
isText: {
|
||||
@@ -36,7 +43,7 @@ const props = defineProps({
|
||||
default: '#aaa'
|
||||
},
|
||||
menus: {
|
||||
type: Array,
|
||||
type: Array as PropType<AppMenuItem[]>,
|
||||
default: []
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user