Browse Source

添加tablist默认数据

master_hella_20240701
yufei0306 8 months ago
parent
commit
8d18dbc867
  1. 11
      src/components/Detail/src/Detail.vue

11
src/components/Detail/src/Detail.vue

@ -329,7 +329,8 @@ if (props.isBasic == true) {
] ]
} }
} }
tabsList.value = [...tabsList?.value,{
const otherList = [{
label:'附件', label:'附件',
prop:'Annex' prop:'Annex'
},{ },{
@ -340,6 +341,14 @@ tabsList.value = [...tabsList?.value,{
prop:'ChangeRecord' 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({ const annexData = reactive({

Loading…
Cancel
Save