hosts.vue 410 B

123456789101112131415161718
  1. <template>
  2. <div style="padding-top: 15px" v-if="hosts.length > 0">
  3. <span style="font-size: larger;font-weight: bold;">{{ $t('network.wire.hosts') + ': ' }}</span>
  4. <a-tag class="mb-2" v-for="item in hosts" :key="item.id">{{ item.name }}</a-tag>
  5. </div>
  6. </template>
  7. <script>
  8. export default {
  9. name: 'HostColumn',
  10. props: {
  11. hosts: {
  12. type: [],
  13. required: true,
  14. },
  15. },
  16. }
  17. </script>