Skip to content

Commit

Permalink
feat: 菜单增加外链跳出处理
Browse files Browse the repository at this point in the history
  • Loading branch information
pumelotea committed Jun 30, 2022
1 parent d0808f6 commit 3043d91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mock/routerData.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ const routerData = [
isRouter : false,
isKeepalive: false,
type : 'menu',
icon : 'ri-table-line',
icon : 'ri-link',
children : [
{
name : 'iframe内嵌外链',
path : '/iframe-link',
view : '/iframe/index.vue',
isRouter : true,
isKeepalive: false,
icon : 'ri-menu-line',
icon : 'ri-links-line',
type : 'menu',
externalLink: true, //外链
linkTarget: '_tab', //刷新自己
Expand All @@ -118,7 +118,7 @@ const routerData = [
view : '/iframe/index.vue',
isRouter : true,
isKeepalive: false,
icon : 'ri-menu-line',
icon : 'ri-links-line',
type : 'menu',
externalLink: true, //外链
linkTarget: '_blank',
Expand All @@ -131,7 +131,7 @@ const routerData = [
view : '/iframe/index.vue',
isRouter : true,
isKeepalive: false,
icon : 'ri-menu-line',
icon : 'ri-links-line',
type : 'menu',
externalLink: true, //外链
linkTarget: '_self',
Expand Down

0 comments on commit 3043d91

Please sign in to comment.