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

语言切换之后,会报错 #22

Open
Gacent opened this issue Dec 18, 2019 · 3 comments
Open

语言切换之后,会报错 #22

Gacent opened this issue Dec 18, 2019 · 3 comments

Comments

@Gacent
Copy link

Gacent commented Dec 18, 2019

切换en/cn时候,控制台会报
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "i18n"
因为i18n是外部传进来的props,然后内部你的i18n又可以修改外部的props,所以vue报错了撒。

@1615450788
Copy link
Owner

了解,会尽快修复-。-

@BugMyGod
Copy link

遇到了同样的问题~

@ppmsgit
Copy link

ppmsgit commented Aug 3, 2020

了解,会尽快修复-。-

期待修复

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

No branches or pull requests

4 participants