diff --git a/client/src/router/index.js b/client/src/router/index.js index 7e55a4d..b3e0ec2 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -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: [ { diff --git a/client/src/views/qualityinspect/inspectdoc.vue b/client/src/views/qualityinspect/inspectdoc.vue index f285bec..4294bd9 100644 --- a/client/src/views/qualityinspect/inspectdoc.vue +++ b/client/src/views/qualityinspect/inspectdoc.vue @@ -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" > 上传文件