2 changed files with 22 additions and 7 deletions
@ -1,12 +1,21 @@ |
|||||
<template> |
<template> |
||||
<div class="modeling-simulation"> |
<div class="modeling-simulation"> |
||||
automatedPresentation.vue |
<iframe class="galaxis-ai" style="width: 100%;height: 100%;border: none;" src="http://localhost:5906/#/chat"></iframe> |
||||
</div> |
</div> |
||||
</template> |
</template> |
||||
<script setup> |
<script setup lang="ts"> |
||||
|
import { onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
|
function mes(event: MessageEvent) { |
||||
|
console.log('data', event.data); |
||||
|
} |
||||
|
|
||||
|
onMounted(() => window.addEventListener('message', mes)); |
||||
|
onUnmounted(() => window.removeEventListener('message', mes)); |
||||
</script> |
</script> |
||||
<style lang="less"> |
<style lang="less"> |
||||
.dashboard{ |
.modeling-simulation { |
||||
|
width: 100%; |
||||
|
height: 100%; |
||||
} |
} |
||||
</style> |
</style> |
||||
|
|||||
Loading…
Reference in new issue