fix: 修复getParentLayout方法接受了参数,但并没有用上 (#2290)

This commit is contained in:
前端爱码士 2022-10-19 13:34:58 +08:00 committed by GitHub
parent 7e4312ec1e
commit c37a15fefb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}); });
}); });
}; };