mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 11:54:00 +08:00
feat: support mobile layout adaptation
This commit is contained in:
@@ -13,8 +13,9 @@ const key = Symbol();
|
||||
let lastChangeTab: RouteLocationNormalized;
|
||||
|
||||
export function setLastChangeTab(lastChangeRoute: RouteLocationNormalized) {
|
||||
mitt.emit(key, getRoute(lastChangeRoute));
|
||||
lastChangeTab = getRoute(lastChangeRoute);
|
||||
const r = getRoute(lastChangeRoute);
|
||||
mitt.emit(key, r);
|
||||
lastChangeTab = r;
|
||||
}
|
||||
|
||||
export function listenerLastChangeTab(
|
||||
|
Reference in New Issue
Block a user