mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
add: 添加外链功能
This commit is contained in:
28
src/router/modules/externalLink.ts
Normal file
28
src/router/modules/externalLink.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import Layout from "/@/layout/index.vue";
|
||||
|
||||
const externalLink = {
|
||||
path: "/external",
|
||||
name: "external",
|
||||
component: Layout,
|
||||
meta: {
|
||||
icon: "el-icon-link",
|
||||
title: "message.externalLink",
|
||||
showLink: true,
|
||||
savedPosition: true,
|
||||
rank: 190,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "https://github.com/xiaoxian521/vue-pure-admin",
|
||||
meta: {
|
||||
icon: "el-icon-link",
|
||||
title: "message.externalLink",
|
||||
showLink: true,
|
||||
savedPosition: true,
|
||||
rank: 191,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default externalLink;
|
||||
Reference in New Issue
Block a user