Skip to content

Commit

Permalink
fix: optimize demo code
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJim committed Jul 4, 2023
1 parent cd43d2d commit 336459a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dropdown-menu/demos/direction.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<t-dropdown-menu :direction="'up'" @menu-opened="handleMenuOpened" @menu-closed="handleMenuClosed">
<t-dropdown-menu direction="up" @menu-opened="handleMenuOpened" @menu-closed="handleMenuClosed">
<t-dropdown-item :options="product.options" :value="product.value" @change="onChange" />
<t-dropdown-item :options="sorter.options" :value="sorter.value" />
</t-dropdown-menu>
Expand Down

0 comments on commit 336459a

Please sign in to comment.