feat: 为多个组件的 VMenu 添加 scrim 属性

This commit is contained in:
jxxghp
2025-04-13 09:42:58 +08:00
parent 3d7a0d9b0d
commit 8b53cd0a09
5 changed files with 10 additions and 9 deletions

View File

@@ -189,13 +189,13 @@ onMounted(() => {
</script>
<template>
<VMenu v-if="props.themes" class="theme-menu">
<VMenu v-if="props.themes" class="theme-menu" scrim>
<template v-slot:activator="{ props }">
<IconBtn v-bind="props">
<VIcon :icon="getThemeIcon" />
</IconBtn>
</template>
<VList class="theme-switcher-list pt-0 border">
<VList class="theme-switcher-list pt-0">
<VCardItem class="theme-switcher-header">
<VCardTitle class="font-weight-medium text-primary">主题选择</VCardTitle>
</VCardItem>