<template>
  <iframe :src="iframeSrc" style="width: 100%; height: 100vh; border: none"></iframe>
</template>

<script>
export default {
  name: 'MallIframe',
  data() {
    return {
      iframeSrc: '',
    }
  },
  mounted() {
    console.log('🚀 ~ mounted:', window.location)
    this.iframeSrc =
      process.env.NODE_ENV === 'production'
        ? ' http://127.0.0.1:8108/iws/mall-view/equipList'
        : 'http://127.0.0.1:8108/iws/mall-view/equipList'
    console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)
  },
}
</script>
