update
This commit is contained in:
@@ -19,7 +19,7 @@ export function getBaseLogin() {
|
||||
export function toLoginByNowPath(nowPath: string) {
|
||||
const xianPath = ['/home', '/secondScreen', '/'];
|
||||
|
||||
const yinchuanPath = ['/yinChuanHome'];
|
||||
const yinchuanPath = ['/yinChuanHome', '/yinChuanTest'];
|
||||
if (xianPath.includes(nowPath)) {
|
||||
return PageEnum.BASE_LOGIN;
|
||||
} else if (yinchuanPath.includes(nowPath)) {
|
||||
@@ -32,7 +32,7 @@ export function toHomeByLogoutPath(nowPath: string) {
|
||||
//西安的页面路径
|
||||
const xianPath = ['/home', '/secondScreen', '/'];
|
||||
//银川的页面路径
|
||||
const yinchuanPath = ['/yinChuanHome'];
|
||||
const yinchuanPath = ['/yinChuanHome', '/yinChuanTest'];
|
||||
if (xianPath.includes(nowPath)) {
|
||||
return PageEnum.BASE_HOME;
|
||||
} else if (yinchuanPath.includes(nowPath)) {
|
||||
|
||||
Reference in New Issue
Block a user