Skip to content

Commit

Permalink
add a menu item named document which links to multi-tab doc
Browse files Browse the repository at this point in the history
  • Loading branch information
northwang-lucky committed May 4, 2021
1 parent 6a95b21 commit 5841d44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/assets/icons/svg/doc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ const routes: RouteRecordRaw[] = [
icon: 'workbench'
}
},
{
name: 'document',
path: 'document',
component: {},
meta: {
type: 'item',
label: '文档',
icon: 'doc',
onClick: () => window.open('https://wyb199877.github.io/multi-tab/docs', '_blank')
}
},
...modules,
{
name: 'officialWeb',
Expand Down

0 comments on commit 5841d44

Please sign in to comment.