feat: There is no way the,iphone config
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user