ecinc-cloud-wappaio 9.6.433 → 9.6.434
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.
package/lib/ecwappaio.common.js
CHANGED
|
@@ -10334,7 +10334,7 @@ var actions = {
|
|
|
10334
10334
|
dynamicRoutes = JSON.parse(dynamicRoutes);
|
|
10335
10335
|
for (i = 0; i < accessedRoutes.length; i++) {
|
|
10336
10336
|
proute = accessedRoutes[i];
|
|
10337
|
-
if (proute.meta && dynamicRoutes[0].children.length > 0 && proute.meta.parentId === dynamicRoutes[0].
|
|
10337
|
+
if (proute.meta && dynamicRoutes[0].children.length > 0 && proute.meta.parentId === dynamicRoutes[0].meta.id) {
|
|
10338
10338
|
//删除模块菜单配置的路由定义,保留本次话产品会动态子路径
|
|
10339
10339
|
accessedRoutes.splice(i--, 1);
|
|
10340
10340
|
}
|
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -10344,7 +10344,7 @@ var actions = {
|
|
|
10344
10344
|
dynamicRoutes = JSON.parse(dynamicRoutes);
|
|
10345
10345
|
for (i = 0; i < accessedRoutes.length; i++) {
|
|
10346
10346
|
proute = accessedRoutes[i];
|
|
10347
|
-
if (proute.meta && dynamicRoutes[0].children.length > 0 && proute.meta.parentId === dynamicRoutes[0].
|
|
10347
|
+
if (proute.meta && dynamicRoutes[0].children.length > 0 && proute.meta.parentId === dynamicRoutes[0].meta.id) {
|
|
10348
10348
|
//删除模块菜单配置的路由定义,保留本次话产品会动态子路径
|
|
10349
10349
|
accessedRoutes.splice(i--, 1);
|
|
10350
10350
|
}
|