You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Component] [select] [el-select] When el-option is given a custom value props, the component falls into an infinite loop, eventually causing a stack overflow.
#15231
Bug Type:
Component
Environment
3.4.0-beta.4
2.4.4
Edg/113.0.1774.50
Vite
Reproduction
Related Component
el-select
Reproduction Link
Element Plus Playground
Steps to reproduce
:value="{ ...item }"
it will trigger that problem. it works well when value is:value="item"
What is Expected?
works well
What is actually happening?
It falls into an infinite loop, eventually causing a stack overflow
Additional comments
在给 el-option 的value设定一个自定义的值,而不是直接从 option 的选项中拿到一个值时,会触发无限循环,最终浏览器堆栈溢出,页面卡死。
复现链接打开会直接卡死,打开之前先打开控制台,否则看不到现象。
The text was updated successfully, but these errors were encountered: