fix(web-antdv-next:mall): 替换 Space 组件为 SpaceCompact 实现垂直布局
parent
5c9a163c46
commit
72f3d62a20
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { Space } from 'antdv-next';
|
import { SpaceCompact } from 'antdv-next';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 垂直按钮组
|
* 垂直按钮组
|
||||||
|
|
@ -10,8 +10,8 @@ defineOptions({ name: 'VerticalSpace' });
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Space v-bind="$attrs">
|
<Space v-bind="$attrs">
|
||||||
<Space.Compact orientation="vertical">
|
<SpaceCompact orientation="vertical">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</Space.Compact>
|
</SpaceCompact>
|
||||||
</Space>
|
</Space>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue