fix(项目管理): 文件管理查看问题

--bug=1017904 --user=李玉号 【项目管理】文件管理缺少查看按键
https://www.tapd.cn/55049933/s/1259985
This commit is contained in:
shiziyuan9527 2022-10-12 20:03:09 +08:00 committed by lyh
parent 187f2424b0
commit ddb58810bd
3 changed files with 3 additions and 2 deletions

View File

@ -73,6 +73,7 @@ public class ShiroUtils {
filterChainDefinitionMap.put("/system/theme", "anon");
filterChainDefinitionMap.put("/system/save/baseurl/**", "anon");
filterChainDefinitionMap.put("/system/timeout", "anon");
filterChainDefinitionMap.put("/file/metadata/info/**", "anon");
filterChainDefinitionMap.put("/v1/catalog/**", "anon");
filterChainDefinitionMap.put("/v1/agent/**", "anon");

View File

@ -21,7 +21,7 @@
</el-col>
<el-col :span="18" style="padding-top: 80px">
<el-card :body-style="{ padding: '0px' }" v-if="isImage(data.type) && !isRepositoryFile()">
<img :src="'/file/metadata/info/' + data.id" class="ms-edit-image"/>
<img :src="'/project/file/metadata/info/' + data.id" class="ms-edit-image"/>
</el-card>
<el-card :body-style="{ padding: '0px' }" v-else>
<div class="ms-edit-image">

View File

@ -4,7 +4,7 @@
<el-row :gutter="20">
<el-col :span="4" v-for="item in data" :key="item.id">
<el-card :body-style="{ padding: '0px' }" class="ms-card-item" @click.native="handleView(item)">
<img :src="'/file/metadata/info/'+item.id" class="ms-image" v-if="isImage(item.type)"/>
<img :src="'/project/file/metadata/info/'+item.id" class="ms-image" v-if="isImage(item.type)"/>
<div class="ms-image" v-else>
<div class="ms-file">
<div class="icon-title">{{ getType(item.type) }}</div>