补充部分组件描述

This commit is contained in:
就眠儀式
2022-02-06 03:19:24 +08:00
parent a74c559fdd
commit 6e568f2d2f
94 changed files with 352 additions and 259 deletions

View File

@@ -7,12 +7,14 @@ export default {
<script setup lang="ts">
import { inject, Ref, useSlots } from "vue";
export interface LayMenuItemProps {
id: string;
title?: string;
}
const slots = useSlots();
const props = defineProps<{
id: string;
title?: string;
}>();
const props = defineProps<LayMenuItemProps>();
const selectedKey: Ref<string> = inject("selectedKey") as Ref<string>;