|
|
@@ -5,13 +5,13 @@
|
|
|
<!--空数据处理-->
|
|
|
<div
|
|
|
class="page-section"
|
|
|
- v-if="!(dlDetail.buildList && dlDetail.buildList.length > 0)"
|
|
|
+ v-if="!(projectDetail.buildList && projectDetail.buildList.length > 0)"
|
|
|
style="height: 60vh;"
|
|
|
>
|
|
|
<no-data-svg></no-data-svg>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-for="(item, index) in dlDetail.buildList"
|
|
|
+ v-for="(item, index) in projectDetail.buildList"
|
|
|
:key="item.id"
|
|
|
class="gap-section"
|
|
|
>
|
|
|
@@ -60,7 +60,7 @@ export default {
|
|
|
name: "BuildDetail",
|
|
|
components: { BuildTag, PageSectionLoading, NoDataSvg },
|
|
|
props: {
|
|
|
- dlDetail: {
|
|
|
+ projectDetail: {
|
|
|
type: Object,
|
|
|
default: () => {}
|
|
|
},
|
|
|
@@ -71,13 +71,13 @@ export default {
|
|
|
},
|
|
|
computed: {},
|
|
|
watch: {
|
|
|
- dlDetail: function(newVal) {
|
|
|
+ projectDetail: function(newVal) {
|
|
|
let buildMessageIsOpen = [];
|
|
|
for (let i = 0; i < newVal.buildList.length; i++) {
|
|
|
let buildInfo = newVal.buildList[i];
|
|
|
buildInfo.buildTime = buildInfo.buildTime.replace("T", " ") + "ms";
|
|
|
buildMessageIsOpen.push(false);
|
|
|
- this.dlDetail.buildList[i] = buildInfo;
|
|
|
+ this.projectDetail.buildList[i] = buildInfo;
|
|
|
}
|
|
|
this.buildMessageIsOpen = buildMessageIsOpen;
|
|
|
}
|