如何在使用element中的cascader级联选择器时获取到lable值

 

 

 在cascader级联选择器中

使用ref注册一个新的组件名“cascaderAddr”

通过 this.$refs.cascaderAddr.currentLabels[i]即可获取到需要对应的lable值

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-29
  • 2021-09-04
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案