Popover 弹出框,里面的表格点击后关闭弹窗

 

 

 

 

<el-popover
        ref="popover4"
        placement="right"
        width="150"
        trigger="click">
        <el-table :data="gridData" @cell-click="copyClick">
          <el-table-column width="150" style="cursor: pointer;" property="date" label="请选择">
          </el-table-column>
        </el-table>
      <el-button slot="reference" type="primary" style="width: 200px;margin-bottom:20px;">复制</el-button>
</el-popover>

  

showPopper可以关闭弹框

// 点击复制单元格
    copyClick (row, column, cell, event) {
      this.$refs.popover4.showPopper = false;
    }

  

相关文章:

  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案