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>
|