fix(web-antdv-next:mall): 替换 Space 组件为 SpaceCompact 实现垂直布局

pull/359/head
XuZhiqiang 2026-06-06 20:31:33 +08:00
parent 5c9a163c46
commit 72f3d62a20
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<script setup lang="ts">
import { Space } from 'antdv-next';
import { SpaceCompact } from 'antdv-next';
/**
* 垂直按钮组
@ -10,8 +10,8 @@ defineOptions({ name: 'VerticalSpace' });
<template>
<Space v-bind="$attrs">
<Space.Compact orientation="vertical">
<SpaceCompact orientation="vertical">
<slot></slot>
</Space.Compact>
</SpaceCompact>
</Space>
</template>