Skip to content
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] This.$message.error('wrong, this is an error message'); after calling the popup, I found that the attributes of the html tag (such as lang="en-US") were deleted? #12378

Closed
liuhuanhui opened this issue Aug 15, 2018 · 4 comments

Comments

@liuhuanhui
Copy link

liuhuanhui commented Aug 15, 2018

Element UI version

2.4.6

OS/Browsers version

GOOGLE

Vue version

2.5.17

Reproduction Link

https://github.com/liuhuanhui/bug01/

Steps to reproduce

https://github.com/liuhuanhui/bug01/
F12, run, check the HTML tag, and then click the button on the page.

@jikkai
Copy link
Contributor

jikkai commented Aug 15, 2018

debugger 了一下感觉这个问题应该不是 element 造成的,最好尝试看下是不是受到 nuxt-i18n 影响。

@liuhuanhui
Copy link
Author

@jikkai 我也调试了下 确实是引入了nuxt-i18n才会出现这种问题。

@trylovetom
Copy link

trylovetom commented Aug 20, 2018

Same Problem Here,
I try this setting of nuxt-i18n below, solve the problem
seo: false

@liuhuanhui
Copy link
Author

seo:false其实没有解决问题,只是不往html标签里面添加语言的属性而已,你可以试着往html标签里面添加其他属性,属性一样会被清空的。@trylovetom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants