Element UI version
2.13.2
OS/Browsers version
mac os 10.14
Vue version
2.6.10
Reproduction Link
https://codepen.io/chenzhq/pen/WNQPxmQ?editors=1111
Steps to reproduce
- 点击cascade select组件,选择任一节点,只需要修改activePath即可;
- 关闭select panel;
- 点击【修改】按钮,修改options;
What is Expected?
重置value,重置activePath
What is actually happening?
console里会报错 初步定位是由于acitvePath未重置,导致计算node时出错。
2条答案
按热度按时间fnvucqvd1#
Translation of this issue:
Element UI version
2.13.2
OS/Browsers version
mac os 10.14
Vue version
2.6.10
Reproduction Link
https://codepen.io/chenzhq/pen/WNQPxmQ?editors=1111
Steps to reproduce
What is Expected?
Reset value, reset activepath
What is actually happening?
An error will be reported in the console. The initial location is because the acitvepath is not reset, resulting in an error in node calculation.
tvokkenx2#
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.