695593266@qq.com пре 11 месеци
родитељ
комит
af3e6ee539
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/singleLogin/index.vue

+ 2 - 2
src/views/singleLogin/index.vue

@@ -450,8 +450,8 @@
         this.isInfo = false;
 
         // console.log(this.infoForm, 'this.infoForm');
-        this.$store.commit('user/setAllUserInfo', this.infoForm);
-
+        // this.$store.commit('user/setAllUserInfo', this.infoForm);
+        localStorage.setItem('chooseUserInfo', this.infoForm);
         // console.log(this.$store.state.user, 'this.$store.state.user');
         this.$router.push(this.$route?.query?.from ?? '/').catch(() => {});
       },