<!-- https://github.com/mirari/v-viewer -->
<template>
  <viewer :images="data">
    <img
      v-for="(src,index) in photo"
      :key="index"
      :src="src"
    >
  </viewer>
</template>
<script>
import 'viewerjs/dist/viewer.css'

export default {
  name: 'ThViewer',
  props: {
    data: {
      type: Array,
      default: () => []
    }
  }
}
</script>
