mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 00:18:51 +08:00
fix: 修复点击外链会跳转两次的问题 (#1133)
This commit is contained in:
parent
fae4924102
commit
3ca9a7b5bc
@ -146,30 +146,6 @@ const frameRouter = {
|
|||||||
rank: frame
|
rank: frame
|
||||||
},
|
},
|
||||||
children: [
|
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",
|
path: "/iframe/embedded",
|
||||||
meta: {
|
meta: {
|
||||||
@ -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"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
@ -53,7 +53,6 @@ nextTick(() => {
|
|||||||
</div>
|
</div>
|
||||||
<el-menu
|
<el-menu
|
||||||
ref="menuRef"
|
ref="menuRef"
|
||||||
router
|
|
||||||
mode="horizontal"
|
mode="horizontal"
|
||||||
popper-class="pure-scrollbar"
|
popper-class="pure-scrollbar"
|
||||||
class="horizontal-header-menu"
|
class="horizontal-header-menu"
|
||||||
|
@ -99,7 +99,6 @@ onBeforeUnmount(() => {
|
|||||||
:class="[device === 'mobile' ? 'mobile' : 'pc']"
|
:class="[device === 'mobile' ? 'mobile' : 'pc']"
|
||||||
>
|
>
|
||||||
<el-menu
|
<el-menu
|
||||||
router
|
|
||||||
unique-opened
|
unique-opened
|
||||||
mode="vertical"
|
mode="vertical"
|
||||||
popper-class="pure-scrollbar"
|
popper-class="pure-scrollbar"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user