Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed May 8, 2024
1 parent bee46b0 commit 6e9ecc2
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 26 deletions.
48 changes: 24 additions & 24 deletions mock/asyncRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,30 +146,6 @@ const frameRouter = {
rank: frame
},
children: [
{
path: "/iframe/external",
meta: {
title: "menus.pureExternalDoc"
},
children: [
{
path: "/external",
name: "https://pure-admin.github.io/pure-admin-doc",
meta: {
title: "menus.pureExternalLink",
roles: ["admin", "common"]
}
},
{
path: "/pureUtilsLink",
name: "https://pure-admin-utils.netlify.app/",
meta: {
title: "menus.pureUtilsLink",
roles: ["admin", "common"]
}
}
]
},
{
path: "/iframe/embedded",
meta: {
Expand Down Expand Up @@ -257,6 +233,30 @@ const frameRouter = {
}
}
]
},
{
path: "/iframe/external",
meta: {
title: "menus.pureExternalDoc"
},
children: [
{
path: "/external",
name: "https://pure-admin.github.io/pure-admin-doc",
meta: {
title: "menus.pureExternalLink",
roles: ["admin", "common"]
}
},
{
path: "/pureUtilsLink",
name: "https://pure-admin-utils.netlify.app/",
meta: {
title: "menus.pureUtilsLink",
roles: ["admin", "common"]
}
}
]
}
]
};
Expand Down
1 change: 0 additions & 1 deletion src/layout/components/lay-sidebar/NavHorizontal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ nextTick(() => {
</div>
<el-menu
ref="menuRef"
router
mode="horizontal"
popper-class="pure-scrollbar"
class="horizontal-header-menu"
Expand Down
1 change: 0 additions & 1 deletion src/layout/components/lay-sidebar/NavVertical.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ onBeforeUnmount(() => {
:class="[device === 'mobile' ? 'mobile' : 'pc']"
>
<el-menu
router
unique-opened
mode="vertical"
popper-class="pure-scrollbar"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ function resolvePath(routePath) {
:to="item"
>
<el-menu-item
:index="resolvePath(onlyOneChild.path)"
:class="{ 'submenu-title-noDropdown': !isNest }"
:style="getNoDropdownStyle"
v-bind="attrs"
Expand Down

0 comments on commit 6e9ecc2

Please sign in to comment.