mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 18:40:22 +08:00
fix: 修复getParentLayout方法接受了参数,但并没有用上 (#2290)
This commit is contained in:
parent
7e4312ec1e
commit
c37a15fefb
@ -18,7 +18,7 @@ export const getParentLayout = (_name?: string) => {
|
|||||||
return () =>
|
return () =>
|
||||||
new Promise((resolve) => {
|
new Promise((resolve) => {
|
||||||
resolve({
|
resolve({
|
||||||
name: PARENT_LAYOUT_NAME,
|
name: _name || PARENT_LAYOUT_NAME,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user