Element UI version
2.14.1
OS/Browsers version
win10
Vue version
2.6.10
Reproduction Link
https://codepen.io/eleven-wang/pen/LYRjyrp
Steps to reproduce
将emit-path设置为"false",change方法触发的时候打印出value的值
What is Expected?
返回应该是该节点的值
What is actually happening?
实际返回由该节点所在的各级菜单的值所组成的数组
2条答案
按热度按时间monwx1rj1#
Translation of this issue:
Element UI version
2.14.1
OS/Browsers version
win10
Vue version
2.6.10
Reproduction Link
https://codepen.io/eleven-wang/pen/LYRjyrp
Steps to reproduce
Set emit path to "false" and print the value when the change method is triggered
What is Expected?
Returns the value that should be the node
What is actually happening?
The actual return is an array composed of the values of all levels of the menu where the node is located
dz6r00yl2#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.