From 8c84b2ad48b1f22a8a87a9c3aa30a93f549b6d97 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Fri, 9 Jul 2021 15:58:49 +0800 Subject: [PATCH] pdf --- client/src/router/index.js | 2 +- client/src/views/qualityinspect/inspectdoc.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" > 上传文件