antdesignvue使用

  • 组件弹出层定位问题
:get-popup-container="getTooltipPopupContainer"
getTooltipPopupContainer(trigger) {
      return trigger.parentElement;
    },
:getPopupContainer="(triggerNode) => triggerNode.parentNode"
  • solt参数
<a-popconfirm
  placement="topRight"
  ok-text="确定"
  cancel-text="取消"
  @confirm="confirm()"
>
  <template slot="title">
    <p>
      <a-date-picker @change="change" 
      <a-time-picker @change="change" />
    </p>
  </template>
  <a-button type="primary" ghost>按钮</a-button>
</a-popconfirm> -->

你可能感兴趣的:(vue,前端)