update 调整websocket

This commit is contained in:
zk
2024-05-20 15:25:12 +08:00
parent 60be7c4fe2
commit 510f34953f
6 changed files with 16 additions and 10 deletions
+2 -1
View File
@@ -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)) {