From f052d279131a056cb82c178ae195f463caa72c33 Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期日, 04 八月 2024 14:01:23 +0800 Subject: [PATCH] 新增表格展示方式 --- src/components/chat/chatComponents/htmlCom/HTMLCom.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/chat/chatComponents/htmlCom/HTMLCom.vue b/src/components/chat/chatComponents/htmlCom/HTMLCom.vue index 06a3ea5..5e97b35 100644 --- a/src/components/chat/chatComponents/htmlCom/HTMLCom.vue +++ b/src/components/chat/chatComponents/htmlCom/HTMLCom.vue @@ -1,9 +1,10 @@ -<template> +<template> <IframeResizer class="iframe-resizer" license="GPLv3" - :src="data" + :src="data.url" width="100%" + style="min-height: 500px" frameborder="no" border="0" marginwidth="0" @@ -15,11 +16,10 @@ <script setup lang="ts"> import IframeResizer from '@iframe-resizer/vue/iframe-resizer.vue'; - import { ref } from 'vue'; +import { chatComProps } from '../common'; +const iframeRef = ref<HTMLIFrameElement>(null); -defineProps(['data']); +const props = defineProps(chatComProps); </script> -<style scoped lang="scss"> - -</style> +<style scoped lang="scss"></style> -- Gitblit v1.9.3