feat: There is no way the, 配置公开搜索中心 外部访问 ? and &
This commit is contained in:
+2
-2
@@ -189,7 +189,7 @@ router.beforeEach(function (to, from, next) {
|
|||||||
if (taskId !== undefined && taskId !== null && prcId !== undefined && prcId !== null) {
|
if (taskId !== undefined && taskId !== null && prcId !== undefined && prcId !== null) {
|
||||||
extractedVerify(token)
|
extractedVerify(token)
|
||||||
}else {
|
}else {
|
||||||
if((fromName === undefined || fromName === null) && path.indexOf("/standardSearch/All&userName") !== -1){
|
if((fromName === undefined || fromName === null) && (path.indexOf("/standardSearch/All&userName") !== -1 || path.indexOf("/standardSearch/All?userName") !== -1)){
|
||||||
extractedLocalStorage("standardSearch/All",userName)
|
extractedLocalStorage("standardSearch/All",userName)
|
||||||
localStorage.setItem('external', "external")
|
localStorage.setItem('external', "external")
|
||||||
next('/LoginVerifyNoEncryption')
|
next('/LoginVerifyNoEncryption')
|
||||||
@@ -388,7 +388,7 @@ router.beforeEach(function (to, from, next) {
|
|||||||
next()
|
next()
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
if((fromName === undefined || fromName === null) && path.indexOf("/standardSearch/All&userName") !== -1) {
|
if((fromName === undefined || fromName === null) && (path.indexOf("/standardSearch/All&userName") !== -1 || path.indexOf("/standardSearch/All?userName") !== -1)) {
|
||||||
extractedLocalStorage("standardSearch/All",userName)
|
extractedLocalStorage("standardSearch/All",userName)
|
||||||
localStorage.setItem('external', "external")
|
localStorage.setItem('external', "external")
|
||||||
next('/LoginVerifyNoEncryption')
|
next('/LoginVerifyNoEncryption')
|
||||||
|
|||||||
Reference in New Issue
Block a user