From 4bfbeade77799e2b584baa443422a75e351989a1 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Fri, 19 Aug 2022 10:26:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=E6=9D=83=E9=99=90=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8F=8A=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016005 --user=赵勇 【项目设置】文件管理只有查询权限的时候,查看详情窗口中可以下载和删除文件 https://www.tapd.cn/55049933/s/1227482 --- .../project/menu/file/edit/EditFileMetadata.vue | 8 +++++--- .../project/menu/file/list/FileMetadataList.vue | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/project/menu/file/edit/EditFileMetadata.vue b/frontend/src/business/components/project/menu/file/edit/EditFileMetadata.vue index e794a40e4e..3bbd49de64 100644 --- a/frontend/src/business/components/project/menu/file/edit/EditFileMetadata.vue +++ b/frontend/src/business/components/project/menu/file/edit/EditFileMetadata.vue @@ -3,8 +3,8 @@ @close="saveAndClose" destroy-on-close ref="editFile"> {{ data.name }} - - + + @@ -84,7 +84,8 @@ action="#" :before-upload="beforeUploadFile" :http-request="handleUpload" - :show-file-list="false"> + :show-file-list="false" + v-permission="['PROJECT_FILE:READ+UPLOAD+JAR']"> @@ -97,6 +98,7 @@