mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 11:08:38 +08:00
fix(项目管理): 文件管理查看问题
--bug=1017904 --user=李玉号 【项目管理】文件管理缺少查看按键 https://www.tapd.cn/55049933/s/1259985
This commit is contained in:
parent
187f2424b0
commit
ddb58810bd
@ -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");
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user