fix(web-antdv-next:mall): 替换 Space 组件为 SpaceCompact 实现垂直布局
parent
5c9a163c46
commit
72f3d62a20
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue