Element: [Feature Request] Cascader cascade selector gets the selected label value

Created on 4 Jun 2019  ·  3Comments  ·  Source: ElemeFE/element

Existing Component

Yes

Component Name

2.9.1

Description

Google浏览器68.0.3440.84


Cascader 级联选择器获取选中的label值得问题,2.7.2版本可以通过this.$refs['cascaderAddr'].currentLabels方法获取,更新后该方法失效。

Most helpful comment

currentLabels is not public api, u can use getCheckedNodes to get the checked labels.

All 3 comments

Translation of this issue:

Existing Component

Yes

Component Name

2.9.1

Description

Google Browser 68.0.3440.84

Cascader cascade selector to get the selected label is worth the problem. Version 2.7.2 can be obtained by this. $refs ['cascader Addr']. CurrtLabels method, which is invalid after updating.

Issues without a valid reproduction link will be closed directly.

currentLabels is not public api, u can use getCheckedNodes to get the checked labels.

Was this page helpful?
0 / 5 - 0 ratings