element Cascading selection box (dynamic loading data), there is a problem when editing

ujv3wf0j  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(56)

Element UI version

2.13.2

OS/Browsers version

windows64

Vue version

2.6.10

https://codepen.io/pen

Steps to reproduce

初始化的时候直接给el-cascader(动态加载数据)的v-modal传一个ids数组,发现选择框里的文本还是 '请选择' ,但是点开之后发现级联面板显示是正确的,已经选中了我要的数据

What is Expected?

选择框中的文本应该根据传入的v-modal显示对应的选中路径

What is actually happening?

选择框中的文本显示为 '请选择'

6ojccjat

6ojccjat1#

Translation of this issue:

Element UI version

2.13.2

OS/Browsers version

windows64

Vue version

2.6.10

https://codepen.io/pen

Steps to reproduce

During initialization, an IDS array is directly passed to the v-module of El cascade (dynamic loading data). It is found that the text in the selection box is still 'please select', but after clicking it, it is found that the cascade panel display is correct and the data I want has been selected

What is Expected?

The text in the selection box should display the selected path according to the v-modal passed in

What is actually happening?

The text in the selection box appears as' please select '

wz3gfoph

wz3gfoph2#

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.

相关问题