共享大厅
This commit is contained in:
parent
27dacd1834
commit
97dc2170b3
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue