@@ -316,6 +316,7 @@ export default {
let that = this;
// that.getList();
that.getBanner();
+ location.reload()
// that.getUser();
},
activated() {
@@ -209,6 +209,7 @@ export default {
};
mounted() {
this.$store.dispatch('getUserInfo');
if (this.isLogin) {
this.$http
@@ -139,7 +139,6 @@ export default {
});
this.check().then(() => {
this.$toast.success('登录成功');
- location.reload()
setTimeout(() => {
if (this.$store.state.loginBackUrl) {
this.$router.replace(this.$store.state.loginBackUrl);