多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
415 B

<script lang="ts" setup>
const props = defineProps<{
selectable?: boolean | undefined
}>()
const selectable = computed(() => props.selectable ?? false)
</script>
<template>
<a-menu class="nc-menu" :selectable="selectable">
<slot />
</a-menu>
</template>
<style lang="scss">
.nc-menu {
@apply bg-white !rounded-md !py-1.5;
}
.nc-menu.ant-dropdown-menu {
@apply !rounded-lg !shadow-none;
}
</style>