以下实例实现的同一个操作

静态使用

this.$refs.tbhead.clearSelection();

动态使用

area="tbhead"    //可以是函数传入的参数
this.$refs[area].clearSelection();

相关文章:

  • 2021-12-19
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-08-08
猜你喜欢
  • 2021-10-26
  • 2021-07-07
  • 2021-06-08
  • 2021-08-27
  • 2021-06-18
相关资源
相似解决方案