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,
redirect: '/test/',
name: 'TestVideo',
meta: { title: '视频培训', icon: 'guide', perms: ['testvideo'] },
meta: { title: '视频培训', icon: 'guide', perms: ['video_view'] },
alwaysShow: true,
children: [
{

View File

@ -95,7 +95,7 @@
:headers="upHeaders"
:file-list="fileList"
: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-upload>