fix: menu component story

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/581/head
Ryan Wang 2022-04-13 11:14:34 +08:00
parent 0f91488044
commit 0324e02605
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
</Variant>
<Variant title="Size">
<template #default>
<VButton type="secondary" size="lg"> lg </VButton>
<VButton type="secondary" size="lg"> Large </VButton>
<VButton type="secondary"> default </VButton>
<VButton type="secondary" size="sm"> sm </VButton>
<VButton type="secondary" size="xs"> xs </VButton>

View File

@ -73,6 +73,7 @@ function handleClick() {
@apply h-9;
@apply px-4;
@apply outline-0;
@apply border-none;
&:hover {
@apply opacity-90;

View File

@ -3,11 +3,10 @@
<Variant title="Playground">
<template #default>
<VMenu>
<VMenuItem>
<VMenuItem title="仪表盘">
<template #icon>
<Component :is="IconDashboard" />
</template>
仪表盘
</VMenuItem>
</VMenu>
</template>