Merge branch 'develop' into FOTON

This commit is contained in:
super_liu
2021-12-23 08:09:25 +08:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -113,8 +113,8 @@ router.beforeEach(function (to, from, next) {
}else {
if ((token === null || token === '' ) && toName !== 'Login') {
if(toName !== 'phoneIndex'){
sessionStorage.removeItem("param");
sessionStorage.setItem('param',JSON.stringify(param4))
localStorage.removeItem("param");
localStorage.setItem('param',JSON.stringify(param4))
next('/phoneIndex')
}else {
next()
@@ -74,7 +74,7 @@ export default {
watch: {
},
mounted() {
this.phoneInfo = JSON.parse(sessionStorage.getItem("param"))
this.phoneInfo = JSON.parse(localStorage.getItem("param"))
let pId = this.phoneInfo.prcId
let taskIds = this.phoneInfo.taskId
this.loginMobile(pId,taskIds)