1.更新im
2.修改bug
This commit is contained in:
2025-07-09 15:18:56 +08:00
parent 308d9ae94e
commit 78141a788f
22 changed files with 168 additions and 368 deletions
-4
View File
@@ -10,7 +10,6 @@ import { MenuTypeEnum } from '/@/enums/menuEnum';
import { setMixTopClick } from '/@/logics/mitt/mixTopClick';
import { findRouteMenu } from '/@/layouts/default/menu/useLayoutMenu';
import { useUserStore } from '/@/store/modules/user';
import { isShowNewLayoutSpecial } from '/@/utils/getEnv';
export type RouteLocationRawEx = Omit<RouteLocationRaw, 'path'> & { path: PageEnum };
@@ -45,9 +44,6 @@ export function useGo(_router?: Router) {
setMixTopClick({ name: '', path: '' });
}
}
if (isShowNewLayoutSpecial(useUserStore().getSpecialPath)) {
useUserStore().setSpecialDownPath('');
}
isReplace ? replace(opt).catch(handleError) : push(opt).catch(handleError);
} else {
const o = opt as RouteLocationRaw;