Commit b501ebb0 authored by wuwangwolihui's avatar wuwangwolihui

营地2.0-修改

parent b1046ef8
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
} }
this.$message.success(res.data.msg); this.$message.success(res.data.msg);
// token存储 // token存储
this.$store.commit('login', res.data.token); this.$store.commit('login', res.data.Token);
window.localStorage.setItem("index-phone-all", this.registerForm.phone); window.localStorage.setItem("index-phone-all", this.registerForm.phone);
let previousPath = this.$store.state.previousPath; let previousPath = this.$store.state.previousPath;
......
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
this.$message.success(res.data.msg); this.$message.success(res.data.msg);
let code = this.$store.state.indexIdentity; let code = this.$store.state.indexIdentity;
// token存储 // token存储
this.$store.commit('login', res.data.token); this.$store.commit('login', res.data.Token);
window.localStorage.setItem("index-phone-all", this.registerForm.phone); window.localStorage.setItem("index-phone-all", this.registerForm.phone);
// 报名信息 // 报名信息
window.localStorage.setItem("camp_name" + code, res.data.cam.name); window.localStorage.setItem("camp_name" + code, res.data.cam.name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment