element-plus
element-plus copied to clipboard
[Component] [select] ElSelect throws an error when running in Vue versions less than 3.2.34-beta.1.
Bug Type: Component
Environment
- Vue Version:
3.2.33
- Element Plus Version:
2.5.3
- Browser / OS:
Microsoft Edge 119.0.2151.72
- Build Tool:
Vite
Reproduction
Related Component
-
el-select
Reproduction Link
Steps to reproduce
- Switch the Element-Plus version to 2.5.3.
- Switch the Vue version to to any version less than 3.2.34-beta.1.
- Refresh the preview iframe.
What is Expected?
It works normally.
What is actually happening?
It throws an error: 'we.updateOption is not a functoin.'
Additional comments
In my development environment, the error is 'option.updateOption is not a function'.
I had the same problem
u can try options data init when mounted
i fixed by setting attribute 'lazy' as true when using el-tree-select component
I also had this issue. Any updates for this problem?
I eventually upgraded the Vue version to 3.2.34, ensuring that other dependencies in the project continued to function properly. This allowed me to temporarily bypass the issue.
I also had this issue. Any updates for this problem?
I had the same problem
为什么不对低版本的vue组件做支持?
Why not support lower versions of Vue components?
目前vue组件版本为3.2.31仍然会报这个问题
Currently, the Vue component version is 3.2.31 and still reports this issue
请问这里修复后需要重新install嘛 如果是用cdn引入的有什么办法修复嘛 element-plus版本2.2.28