feat: There is no way the,
This commit is contained in:
+8
-1
@@ -115,7 +115,14 @@ router.beforeEach(function (to, from, next) {
|
||||
next()
|
||||
}
|
||||
} else {
|
||||
next()
|
||||
if (toName.slice(0,5) !== 'phone') {
|
||||
let paramPhone = 'taskIds=' + taskId + '&prcId=' + prcId + '&prcNum=' + prcNum +
|
||||
'&taskAssignee=' + toName + '&prcName=' + prcName + '&prcType=' + prcType
|
||||
let phoneRouter = 'phone' + toName.charAt(0).toUpperCase() + toName.slice(1)
|
||||
next({path: phoneRouter + '?' + paramPhone})
|
||||
}else {
|
||||
next()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ((token === null || token === '' ) && toName !== 'Login') {
|
||||
|
||||
Reference in New Issue
Block a user