update 后台跳转大屏免登录,优化登录数据缓存

This commit is contained in:
zk
2024-05-18 15:16:10 +08:00
parent cb2a823d25
commit 6ff0b25f1b
8 changed files with 58 additions and 23 deletions
@@ -86,8 +86,10 @@
setValue(result, page);
}
} catch {
const { result, page } = JSON.parse(getSession(PAGE2_RIGHT3));
setValue(result, page);
const { result, page } = getSession(PAGE2_RIGHT3) ? JSON.parse(getSession(PAGE2_RIGHT3)) : {};
if (result) {
setValue(result, page);
}
}
}
@@ -242,4 +244,4 @@
color: #8291a9;
border: none;
}
</style>
</style>