ant-design-vue/antdv-demo/docs/popover/demo/basic.md

421 B

#### 基本 最简单的用法,浮层的大小由内容区域决定。 #### Basic The most basic example. The size of the floating layer depends on the contents region.
<template>
  <a-popover title="Title">
    <template slot="content">
      <p>Content</p>
      <p>Content</p>
    </template>
    <a-button type="primary">
      Hover me
    </a-button>
  </a-popover>
</template>