|
|
@ -14,6 +14,7 @@ import type { StyleValue } from '@vue/runtime-dom' |
|
|
|
|
|
|
|
|
|
|
|
defineProps<{ |
|
|
|
defineProps<{ |
|
|
|
style?: StyleValue |
|
|
|
style?: StyleValue |
|
|
|
|
|
|
|
disabled?: boolean | number |
|
|
|
}>() |
|
|
|
}>() |
|
|
|
|
|
|
|
|
|
|
|
defineOptions({ |
|
|
|
defineOptions({ |
|
|
@ -23,7 +24,7 @@ defineOptions({ |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="w-full" :style="style"> |
|
|
|
<div class="w-full" :style="style"> |
|
|
|
<a-menu-item v-bind="$attrs" class="nc-menu-item"> |
|
|
|
<a-menu-item v-bind="$attrs" :disabled="Boolean(disabled)" class="nc-menu-item"> |
|
|
|
<div class="nc-menu-item-inner"> |
|
|
|
<div class="nc-menu-item-inner"> |
|
|
|
<slot /> |
|
|
|
<slot /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|