feat: 支持登录隐藏壳层和路由跳转参数
This commit is contained in:
1 parent
359bd28f2c
commit
0634337858
6 files changed
+40
-13
No files matched your search
@@ -151,6 +151,10 @@ export function isChromeHidden(): boolean {
|
||||
return s?.embed === true || s?.hideChrome === true;
|
||||
}
|
||||
|
||||
export function isHideChromeActive(): boolean {
|
||||
return readEmbedSession()?.hideChrome === true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 本标签页是否处于独立会话态:鉴权身份按标签页隔离(走 sessionStorage)。
|
||||
* `embed` 已隐含同样的隔离,故 `authStorage()` 取「embed || isolate」之并;这里只判 `isolate`,
|
||||
|
||||
Reference in new issue
Block a user