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.
45 lines
743 B
45 lines
743 B
<docs>
|
|
---
|
|
order: 0
|
|
title:
|
|
zh-CN: 基本用法
|
|
en-US: Basic Usage
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
相邻组件水平间距。
|
|
|
|
|
|
## en-US
|
|
|
|
Crowded components horizontal spacing.
|
|
|
|
</docs>
|
|
|
|
<template>
|
|
<a-space>
|
|
Space
|
|
<a-button type="primary">Button</a-button>
|
|
<a-upload>
|
|
<a-button>
|
|
<UploadOutlined />
|
|
Click to Upload
|
|
</a-button>
|
|
</a-upload>
|
|
<a-popconfirm title="Are you sure delete this task?" ok-text="Yes" cancel-text="No">
|
|
<a-button>Confirm</a-button>
|
|
</a-popconfirm>
|
|
</a-space>
|
|
</template>
|
|
<script lang="ts">
|
|
import { UploadOutlined } from '@ant-design/icons-vue';
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
UploadOutlined,
|
|
},
|
|
});
|
|
</script>
|