bonus-ui/src/views/iframe/rentManage.vue

23 lines
573 B
Vue
Raw Normal View History

2025-11-18 14:09:29 +08:00
<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://192.168.0.14:19190/iws/mall-view/home?redirect=rent-manage'
: 'http://localhost:8102/iws/mall-view/home?redirect=rent-manage'
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)
},
}
</script>