fix: dropdown color

This commit is contained in:
Anthony Fu 2022-11-24 21:34:35 +08:00
parent 071e11b8f4
commit c01acb7aa3
4 changed files with 21 additions and 2 deletions

View file

@ -9,7 +9,7 @@ provide(dropdownContextKey, {
</script>
<template>
<VDropdown v-bind="$attrs" ref="dropdown">
<VDropdown v-bind="$attrs" ref="dropdown" :class="{ dark: isDark }">
<slot />
<template #popper="scope">
<slot name="popper" v-bind="scope" />