update 调整websocket
This commit is contained in:
@@ -16,8 +16,9 @@ export function getBaseLogin() {
|
||||
|
||||
//根据当前路径跳转登录页
|
||||
export function toLoginByNowPath(nowPath: string) {
|
||||
console.log('nowPath', nowPath);
|
||||
//西安的页面路径
|
||||
const xianPath = ['/home', '/secondScreen'];
|
||||
const xianPath = ['/home', '/secondScreen', '/'];
|
||||
//银川的页面路径
|
||||
const yinchuanPath = ['/yinChuanHome'];
|
||||
if (xianPath.includes(nowPath)) {
|
||||
|
||||
Reference in New Issue
Block a user