@ -625,6 +625,9 @@ const titleNameRef = ref()
const titleValueRef = ref()
const count =ref(0)
const openDetail = async (row: any, titleName: any, titleValue: any, tableName: any) => {
if(tabRef.value){
tabRef.value.changeCurrent(0)
}
annexTableData.value = []
titleNameRef.value = titleName
titleValueRef.value = titleValue
@ -32,7 +32,13 @@ const change = (item, index) => {
current.value = index
emit('change',item,index)
const changeCurrent = (index) =>{
change(props.tabsList[index],index)
const emit = defineEmits(['change'])
defineExpose({ changeCurrent})
</script>