695593266@qq.com 9 месяцев назад
Родитель
Сommit
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(() => {});
       },