mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 05:50:18 +08:00
refactor(components): basicLayout布局组件重构完成:根据NavMode拆分为多个布局组件
This commit is contained in:
@@ -50,6 +50,8 @@ export function useRouterPush(inSetup: boolean = true) {
|
||||
if (route) {
|
||||
const { query } = route;
|
||||
router.push({ path: routePath('login'), query: { ...query, module } });
|
||||
} else {
|
||||
throw Error('该函数必须在setup里面调用!');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user