Browse Source

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

pull/2294/head
前端爱码士 4 years ago
committed by GitHub
parent
commit
c37a15fefb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/router/constant.ts

2
src/router/constant.ts

@ -18,7 +18,7 @@ export const getParentLayout = (_name?: string) => {
return () =>
new Promise((resolve) => {
resolve({
name: PARENT_LAYOUT_NAME,
name: _name || PARENT_LAYOUT_NAME,
});
});
};

Loading…
Cancel
Save