diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index d45aff944..74bbe4844 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -329,7 +329,8 @@ if (props.isBasic == true) { ] } } -tabsList.value = [...tabsList?.value,{ + +const otherList = [{ label:'附件', prop:'Annex' },{ @@ -340,6 +341,14 @@ tabsList.value = [...tabsList?.value,{ prop:'ChangeRecord' }] +tabsList.value = [...tabsList?.value,...otherList] + +if (!tabsList.value || tabsList.value && tabsList.value.length == otherList.length) { + tabsList.value.unshift({ + label: '明细', + prop: 'Detail' + }) +} // 附件默认数据 const annexData = reactive({