<template>
  <div style="height:100%;">
    <iframe :src="previewURL" width="100%" height="100%" frameborder="0" name="EditView" id="EditView" allowfullscreen="true"></iframe>
  </div>
</template>
<script>
import util from '@src/common/util.js'
export default {
  data() {
    return {
      previewURL: ''
    }
  },
  created() {
    let id = util.url.getQueryValue(location.href, 'ID')
    this.previewURL = `ui/votes/preview?ID=${id}`
  }
}
</script>
