<el-table-column :render-header="renderHeader">
   <template slot-scope="scope">
      {{ scope.row.user }}
   </template>
</el-table-column>
methods: {
    renderHeader(h) {
      return(
         <el-button class="filter-item" type="default" icon="el-icon-delete" onClick={()=>this.handleAddItem()}>操作</el-button>
      )
    },
    handleAddItem() { }
}

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案