<template>
  <div>
    <upload-image
      @data-change="dataChange"
      ></upload-image>
  </div>
</template>

<script>
import UploadImage from './components/UploadImage'
export default {
  name: 'app',
  data () {
    return {
      uploadImages: []
    }
  },
  components: {
    UploadImage
  },
  methods: {
    dataChange (data) {
      console.log(data)
      this.uploadImages = data
    }
  }
}
</script>