update
1.更新im 2.修改bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user