@umijs/core 4.0.11 → 4.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -98,9 +98,14 @@ function transformRoute(opts) {
|
|
|
98
98
|
if (wrappers == null ? void 0 : wrappers.length) {
|
|
99
99
|
let parentId = opts.parentId;
|
|
100
100
|
let path = opts.route.path;
|
|
101
|
+
let layout = opts.route.layout;
|
|
101
102
|
wrappers.forEach((wrapper) => {
|
|
102
103
|
const { id: id2 } = transformRoute({
|
|
103
|
-
route: {
|
|
104
|
+
route: __spreadValues({
|
|
105
|
+
path,
|
|
106
|
+
component: wrapper,
|
|
107
|
+
isWrapper: true
|
|
108
|
+
}, layout === false ? { layout: false } : {}),
|
|
104
109
|
parentId,
|
|
105
110
|
memo: opts.memo,
|
|
106
111
|
onResolveComponent: opts.onResolveComponent
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.12",
|
|
4
4
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/core#readme",
|
|
5
5
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
6
6
|
"repository": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"test": "umi-scripts jest-turbo"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@umijs/bundler-utils": "4.0.
|
|
25
|
-
"@umijs/utils": "4.0.
|
|
24
|
+
"@umijs/bundler-utils": "4.0.12",
|
|
25
|
+
"@umijs/utils": "4.0.12"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"dotenv": "16.0.0",
|