Commit e2def313 authored by Mac's avatar Mac

1

parent 7e73ceb5
...@@ -330,12 +330,16 @@ ...@@ -330,12 +330,16 @@
data:this.showObj data:this.showObj
} }
localStorage.setItem("loginUserInfo", JSON.stringify(localStorageobj) ); localStorage.setItem("loginUserInfo", JSON.stringify(localStorageobj) );
let obj = JSON.parse(JSON.stringify(this.datamodify)) location.reload()
obj.SchoolName = this.showObj.SchoolName // this.$router.push({
setTimeout(() => { // path: this.redirect || '/home'
this.MsgBus.$emit('add',obj); // })
// let obj = JSON.parse(JSON.stringify(this.datamodify))
}, 10); // obj.SchoolName = this.showObj.SchoolName
// setTimeout(() => {
// this.MsgBus.$emit('add',obj);
// }, 10);
} }
}).catch(() => { }).catch(() => {
......
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