Commit 479823f4 authored by 徐一鸣's avatar 徐一鸣

应用构建-镜像详情增加展示字段

parent e6712bb7
<template>
<div class="image_detail">
<apass-dialog ref="listdialog" :title="title" width="985px">
<apass-dialog ref="listdialog" :title="title" width="1200px">
<template slot="content">
<div class="apass_table">
<el-table :data="imageData">
<el-table-column width="20"></el-table-column>
<el-table-column label="版本号" align="left">
<el-table-column label="版本号" width="120" align="left">
<template slot-scope="scope">
{{ scope.row.name }}
</template>
......@@ -15,6 +15,11 @@
{{ scope.row.author }}
</template>
</el-table-column>
<el-table-column label="镜像地址" align="left">
<template slot-scope="scope">
{{ scope.row.image_url }}
</template>
</el-table-column>
<el-table-column label="创建时间" width="180" align="center">
<template slot-scope="scope">
{{ dateTransform(scope.row.created) }}
......@@ -25,7 +30,7 @@
{{ getSize(scope.row.size) }}
</template>
</el-table-column>
<el-table-column label="漏洞" width="160" align="center">
<el-table-column label="漏洞" align="center">
<template slot-scope="scope">
<image-bugs
v-if="scope.row.scan_overview"
......
......@@ -384,6 +384,7 @@ export default {
this.image_noMore = false;
})
.catch((error) => {
this.image_loading = false;
console.log(error);
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment