<template>
  <PageWrapper dense contentFullHeight fixedHeight>
    <iframe :src="iframeSrc" allow="camera *;microphone *;autoplay *;" class="iframe-box"></iframe>
  </PageWrapper>
</template>
<script lang="ts" setup>
  import { ref } from 'vue';
  import { getAppEnvConfig } from '/@/utils/env';
  import { PageWrapper } from '/@/components/Page';

  const iframeSrc = ref(`${getAppEnvConfig().VITE_GLOB_IM_LINK_URL}/#/home/chat`);
</script>
<style lang="less" scoped>
  .iframe-box {
    width: 100%;
    height: 100%;
  }
</style>
