-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
New issue
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 Report] Use vue router and Form slot in a Popover will trigger an error. #1713
Comments
Translation of this issue: Element Plus version1.0.2-beta.36 OS/Browsers versionWindows 10 / Chrome 74 Vue version3.0.9 Reproduction Linkhttps://codepen.io/iamkun/pen/YzXMaVr Steps to reproduceI can't use codepen at all, but I still want to mention bugs, so the link above is wrong, but I can provide a preview url, http://hebeieditor.sinaapp.com/#/
Use the route function to switch 2 pages. When the page above leaves the route, an error will be reported. What is Expected?I hope I can use Popover embedded form normally. What is actually happening?I Can't. |
It is a vue`s bug. vuejs/vue-next#3497 |
You might want to use codesandbox that we have a link on the front page, click that icon you can jump right into the template we made before, fork it then you can have your own code sample. |
According to the issue vuejs/core#3497, it seems they had already fixed this, you need to upgrade your version to 3.0.10 to fix this issue. |
I read through the issue description, the root cause of this issue is that they somehow unmounted |
I will close this issue since it has been fixed by vue, if you have further issue on this, feel free to reopen it. |
Element Plus version
1.0.2-beta.36
OS/Browsers version
Windows 10 / Chrome 74
Vue version
3.0.9
Reproduction Link
https://codepen.io/iamkun/pen/YzXMaVr
Steps to reproduce
I can't use codepen at all, but I still want to mention bugs, so the link above is wrong, but I can provide a preview url,
http://hebeieditor.sinaapp.com/#/
I have created two pages, one of which is written casually, and the other is written in these codes. The key point is that Popover packages the form, and there must be
<el-form-item>
in Form.Use the route function to switch 2 pages. When the page above leaves the route, an error will be reported.
What is Expected?
I hope I can use Popover embedded form normally.
What is actually happening?
I Can't.
The text was updated successfully, but these errors were encountered: