Skip to content

Commit

Permalink
优化按钮样式
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Jun 26, 2024
1 parent 8e35da1 commit 5fbe5a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/button/src/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,14 +525,14 @@ export default defineComponent({
'animat--enter': visiblePanel
}],
placement: reactData.panelPlacement,
style: reactData.panelStyle
style: reactData.panelStyle,
...panelOns
}, inited
? [
h('div', {
class: 'vxe-button--dropdown-wrapper',
onMousedown: mousedownDropdownEvent,
onClick: clickDropdownEvent,
...panelOns
onClick: clickDropdownEvent
}, destroyOnClose && !visiblePanel ? [] : slots.dropdowns({}))
]
: [])
Expand Down

0 comments on commit 5fbe5a4

Please sign in to comment.