This commit is contained in:
shilixia 2021-07-09 15:58:49 +08:00
parent 8db283331c
commit 8c84b2ad48
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ export const asyncRoutes = [
component: Layout, component: Layout,
redirect: '/test/', redirect: '/test/',
name: 'TestVideo', name: 'TestVideo',
meta: { title: '视频培训', icon: 'guide', perms: ['testvideo'] }, meta: { title: '视频培训', icon: 'guide', perms: ['video_view'] },
alwaysShow: true, alwaysShow: true,
children: [ children: [
{ {

View File

@ -95,7 +95,7 @@
:headers="upHeaders" :headers="upHeaders"
:file-list="fileList" :file-list="fileList"
:limit="1" :limit="1"
accept=".doc,.docx,.xls,.xlsx,.ppt,.pptx" accept=".doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf"
> >
<el-button size="small" type="primary">上传文件</el-button> <el-button size="small" type="primary">上传文件</el-button>
</el-upload> </el-upload>