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

<script>
export default {
  name: 'RentManage',
  data() {
    return {
      iframeSrc: '',
    }
  },
  mounted() {
    console.log('🚀 ~ mounted:', window.location)
    this.iframeSrc =
      process.env.NODE_ENV === 'production'
        ? 'http://36.33.26.201:21999/iws/mall-view/home?redirect=rent-manage'
        : 'http://localhost:8102/iws/mall-view/home?redirect=rent-manage'
    console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)
  },
}
</script>
