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 {
|
}else {
|
||||||
if ((token === null || token === '' ) && toName !== 'Login') {
|
if ((token === null || token === '' ) && toName !== 'Login') {
|
||||||
if(toName !== 'phoneIndex'){
|
if(toName !== 'phoneIndex'){
|
||||||
sessionStorage.removeItem("param");
|
localStorage.removeItem("param");
|
||||||
sessionStorage.setItem('param',JSON.stringify(param4))
|
localStorage.setItem('param',JSON.stringify(param4))
|
||||||
next('/phoneIndex')
|
next('/phoneIndex')
|
||||||
}else {
|
}else {
|
||||||
next()
|
next()
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.phoneInfo = JSON.parse(sessionStorage.getItem("param"))
|
this.phoneInfo = JSON.parse(localStorage.getItem("param"))
|
||||||
let pId = this.phoneInfo.prcId
|
let pId = this.phoneInfo.prcId
|
||||||
let taskIds = this.phoneInfo.taskId
|
let taskIds = this.phoneInfo.taskId
|
||||||
this.loginMobile(pId,taskIds)
|
this.loginMobile(pId,taskIds)
|
||||||
|
|||||||
Reference in New Issue
Block a user