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

 

 

 在cascader级联选择器中

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

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

posted @ 2020-01-12 17:54  前端_web  阅读(2170)  评论(0编辑  收藏  举报