未验证 提交 c37a15fe 编写于 作者: 前端爱码士 提交者: GitHub

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

上级 7e4312ec
......@@ -18,7 +18,7 @@ export const getParentLayout = (_name?: string) => {
return () =>
new Promise((resolve) => {
resolve({
name: PARENT_LAYOUT_NAME,
name: _name || PARENT_LAYOUT_NAME,
});
});
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册