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/theme", "anon");
|
||||||
filterChainDefinitionMap.put("/system/save/baseurl/**", "anon");
|
filterChainDefinitionMap.put("/system/save/baseurl/**", "anon");
|
||||||
filterChainDefinitionMap.put("/system/timeout", "anon");
|
filterChainDefinitionMap.put("/system/timeout", "anon");
|
||||||
|
filterChainDefinitionMap.put("/file/metadata/info/**", "anon");
|
||||||
|
|
||||||
filterChainDefinitionMap.put("/v1/catalog/**", "anon");
|
filterChainDefinitionMap.put("/v1/catalog/**", "anon");
|
||||||
filterChainDefinitionMap.put("/v1/agent/**", "anon");
|
filterChainDefinitionMap.put("/v1/agent/**", "anon");
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="18" style="padding-top: 80px">
|
<el-col :span="18" style="padding-top: 80px">
|
||||||
<el-card :body-style="{ padding: '0px' }" v-if="isImage(data.type) && !isRepositoryFile()">
|
<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>
|
||||||
<el-card :body-style="{ padding: '0px' }" v-else>
|
<el-card :body-style="{ padding: '0px' }" v-else>
|
||||||
<div class="ms-edit-image">
|
<div class="ms-edit-image">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="4" v-for="item in data" :key="item.id">
|
<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)">
|
<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-image" v-else>
|
||||||
<div class="ms-file">
|
<div class="ms-file">
|
||||||
<div class="icon-title">{{ getType(item.type) }}</div>
|
<div class="icon-title">{{ getType(item.type) }}</div>
|
||||||
|
|
Loading…
Reference in New Issue