We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Type: Component
Component
3.2.21
2.0.4
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36
Vite
el-form
Element Plus Playground
点击按钮【1.0.2-beta.71 可以用的验证表单】,能进行表单验证操作
this.$refs["form0"] 可以正确的访问到第一个 el-form 组件
this.$refs["form0"]
this.$refs["form0"] 可以正确执行
this.$refs["form0"]访问到的组件外层被包了一层数组,即 [el]
我需要 this.$refs["form0"][0] 才能访问到第一个el-form组件
this.$refs["form0"][0]
我的项目由 1.0.2-beta.71 升级 2.0.4 后动态生成的ref组件,访问属性异常 本来由 this.$refs["form0"] 可以访问到的组件对象,外层被包了一层数组,必须用 this.$refs["form0"][0] 才能访问到
The text was updated successfully, but these errors were encountered:
Element Plus Playground 这似乎是一个vue的问题
Sorry, something went wrong.
vuejs/core#5585
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。
No branches or pull requests
Bug Type:
Component
Environment
3.2.21
2.0.4
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36
Vite
Reproduction
Related Component
el-form
Reproduction Link
Element Plus Playground
Steps to reproduce
点击按钮【1.0.2-beta.71 可以用的验证表单】,能进行表单验证操作
What is Expected?
this.$refs["form0"]
可以正确的访问到第一个 el-form 组件
this.$refs["form0"]
可以正确执行
What is actually happening?
this.$refs["form0"]
访问到的组件外层被包了一层数组,即 [el]我需要
this.$refs["form0"][0]
才能访问到第一个el-form组件Additional comments
我的项目由 1.0.2-beta.71 升级 2.0.4 后动态生成的ref组件,访问属性异常
本来由
this.$refs["form0"]
可以访问到的组件对象,外层被包了一层数组,必须用this.$refs["form0"][0]
才能访问到The text was updated successfully, but these errors were encountered: