1. <el-table @row-click="openDetails">
    2.  </el-table>
    3. //对应的 methods 中
      //点击行事件 
    4. methods: {
    5.  openDetails (row) {
    6.  //具体操作
    7.  },
    8.  

  

相关文章:

  • 2021-05-29
  • 2021-06-14
  • 2021-11-09
  • 2021-06-13
  • 2022-12-23
  • 2021-09-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2023-03-04
相关资源
相似解决方案