子组件获取父组件的id的方法,我在父组件声明一个id对象,通过点击的时候传参数,把table表格的row赋值给currId,此时子组件传参数id的时候,就是 this.$parent.currId.id

子组件获取父组件table表格id的方法

相关文章:

  • 2021-04-30
  • 2022-12-23
  • 2021-07-21
  • 2021-05-19
  • 2022-12-23
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2021-07-05
  • 2021-10-02
  • 2022-12-23
  • 2021-07-05
相关资源
相似解决方案