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
https://github.com/QingdaoU/OnlineJudgeFE/blob/master/src/pages/oj/views/setting/children/ProfileSetting.vue#L139-L144
在该段代码中,如果从别的页面跳转而来,this.$store.state.user.profile 是可以取到正确的内容,但是在当前页面刷新后返回的是一个observer的对象,然后导致数据丢失
this.$store.state.user.profile
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在 Profile 界面,从别的页面切换到 Profile 的时候是可以正常显示数据,但是在这个页面按F5刷新一下数据就丢了
问题重现:
代码定位
https://github.com/QingdaoU/OnlineJudgeFE/blob/master/src/pages/oj/views/setting/children/ProfileSetting.vue#L139-L144
在该段代码中,如果从别的页面跳转而来,
this.$store.state.user.profile
是可以取到正确的内容,但是在当前页面刷新后返回的是一个observer的对象,然后导致数据丢失The text was updated successfully, but these errors were encountered: