element [bug report] after the cascade selector of cascade is assigned twice, the input display is correct, but there is a problem with the echo of cascade selector

ykejflvf  于 2022-11-13  发布在  其他
关注(0)|答案(2)|浏览(210)

Element UI version

2.13.0

OS/Browsers version

mac,windows

Vue version

2.5.16

https://github.com/wilsonlv

Steps to reproduce

1、对v-model绑定的数组的首次赋值,input和CascaderPanel都么有问题
2、对v-model绑定的数组的重新赋值为空数组,然后对数组赋值,input显示正确,但是CascaderPanel还是会显示上一次的部分数据

What is Expected?

CascaderPanel显示的和input一致

What is actually happening?

CascaderPanel显示的和input不一致

ryhaxcpt

ryhaxcpt1#

Translation of this issue:

Element UI version

2.13.0

OS/Browsers version

Mac, windows

Vue version

2.5.16

https://github.com/wilsonlv

Steps to reproduce

  1. There is no problem with input and cascade panel in the first assignment of V-model bound array
  2. Reassign the array bound by V-model to an empty array, and then assign the value to the array. The input display is correct, but the cascaderpanel still displays part of the last data

What is Expected?

The display of cascade panel is consistent with that of input

What is actually happening?

The display of cascade panel is inconsistent with the input

vh0rcniy

vh0rcniy2#

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.

相关问题