qdt-admin-layout 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qdt-admin-layout",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "基于element-ui的后台管理layout的管家婆改版",
5
5
  "main": "src/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -172,15 +172,13 @@ export default {
172
172
  return menus.map((menu) => {
173
173
  let children = [];
174
174
  //弹出菜单显示父级信息;
175
- if (this.collapse && this.showParentOnCollapse) {
176
- // 这里认为父级的深度应该+1
177
- children = this.renderChildrenWithParentMenu(
178
- h,
179
- menu,
180
- children,
181
- depth + 1
182
- );
183
- }
175
+ // 这里认为父级的深度应该+1
176
+ children = this.renderChildrenWithParentMenu(
177
+ h,
178
+ menu,
179
+ children,
180
+ depth + 1
181
+ );
184
182
  // 一级菜单
185
183
  return this.renderSubMenu(h, menu, children, depth);
186
184
  });