mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-09 23:36:09 +00:00
v1.1.0
This commit is contained in:
29
smart-admin-web/src/router/module/system/file.js
Normal file
29
smart-admin-web/src/router/module/system/file.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import Main from '@/components/main';
|
||||
// 文件服务
|
||||
export const file = [
|
||||
{
|
||||
path: '/file',
|
||||
name: 'File',
|
||||
component: Main,
|
||||
meta: {
|
||||
title: '文件服务',
|
||||
icon: 'ios-cloud-upload'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '/file/file-list',
|
||||
name: 'FileList',
|
||||
meta: {
|
||||
title: '文件列表',
|
||||
icon: 'ios-cloud-upload',
|
||||
privilege: [
|
||||
{ title: '查询', name: 'file-filePage-query' },
|
||||
{ title: '上传', name: 'file-filePage-upload' },
|
||||
{ title: '下载', name: 'file-filePage-download' }
|
||||
]
|
||||
},
|
||||
component: () => import('@/views/system/file/file-list.vue')
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user