mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 17:31:43 +08:00
26 lines
429 B
Vue
26 lines
429 B
Vue
<template>
|
||
<div>
|
||
<md>
|
||
## 基本
|
||
最简单的用法,浮层的大小由内容区域决定。
|
||
</md>
|
||
<Popover title="Title">
|
||
<template slot="content">
|
||
<p>Content</p>
|
||
<p>Content</p>
|
||
</template>
|
||
<AntButton type="primary">Hover me</AntButton>
|
||
</Popover>
|
||
</div>
|
||
</template>
|
||
|
||
<script>
|
||
import { Popover, Button } from 'antd'
|
||
export default {
|
||
components: {
|
||
Popover,
|
||
AntButton: Button,
|
||
},
|
||
}
|
||
</script>
|