<template>
    <el-link type="primary" v-for="(item, index) in annex" :key="index" :href="item.uri" target="_blank" class="mr-5">{{
        item.name
    }}</el-link>
    <span v-if="!annex.length">暂无附件</span>
</template>
<script lang="ts" setup>
import { defineProps } from 'vue'

defineProps({
    annex: Array
})



</script>