共享大厅

This commit is contained in:
bb_pan 2025-10-22 13:31:23 +08:00
parent 27dacd1834
commit 97dc2170b3
1 changed files with 20 additions and 4 deletions

View File

@ -1,6 +1,22 @@
<template>
<iframe
src="http://localhost:8102/iws/mall-view/equipList"
style="width:100%; height:100vh; border:none;"
></iframe>
<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://192.168.0.14:19190/iws/mall-view/equipList'
: 'http://localhost:8102/iws/mall-view/equipList'
console.log('🚀 ~ this.iframeSrc:', this.iframeSrc)
},
}
</script>