mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-11 13:10:26 +08:00
refactor(dropdown): menu class name
This commit is contained in:
parent
0f08827ea5
commit
ed4003dde2
@ -138,9 +138,10 @@ export default defineComponent({
|
||||
})
|
||||
return (
|
||||
<div
|
||||
class={`${clsPrefix}-dropdown-menu ${
|
||||
scrollable ? clsPrefix + '-dropdown-menu--scrollable' : ''
|
||||
} `}
|
||||
class={[
|
||||
`${clsPrefix}-dropdown-menu`,
|
||||
scrollable && `${clsPrefix}-dropdown-menu--scrollable`
|
||||
]}
|
||||
ref="bodyRef"
|
||||
>
|
||||
{scrollable ? (
|
||||
|
Loading…
Reference in New Issue
Block a user