gaoluyang
2026-06-24 0ce68379718b7c751b8a84aa4b28cbaf072e6c8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script setup lang="ts">
import { Space } from 'ant-design-vue';
 
/**
 * 垂直按钮组
 * Ant Design Vue 的按钮组,通过 Space 实现垂直布局
 */
defineOptions({ name: 'VerticalButtonGroup' });
</script>
 
<template>
  <Space v-bind="$attrs">
    <Space.Compact direction="vertical">
      <slot></slot>
    </Space.Compact>
  </Space>
</template>