<template>
  <div style="width: 100%;height: 100vh;">
    <span style="line-height: 35px; position: absolute; top:10px;right: 20px;z-index:100000">
      <el-button size="mini" @click="close">
        关闭
      </el-button>
    </span>
    <Preview />
  </div>
</template>

<script>

import Preview from './Preview'
import bus from '@/utils/bus'

export default {
  components: { Preview },

  methods: {
    close() {
      bus.$emit('previewFullScreenClose')
    }
  }
}
</script>

