From cc69786fd18c67f829acc75a2e5b58e3a9f02300 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 02 七月 2023 16:48:57 +0800 Subject: [PATCH] update 优化 !pr382 修复一些问题 完事流程逻辑 --- src/components/iFrame/index.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/iFrame/index.vue b/src/components/iFrame/index.vue index aff55e7..3d1cc7b 100644 --- a/src/components/iFrame/index.vue +++ b/src/components/iFrame/index.vue @@ -1,3 +1,9 @@ +<template> + <div v-loading="loading" :style="'height:' + height"> + <iframe :src="url" frameborder="no" style="width: 100%; height: 100%" scrolling="auto" /> + </div> +</template> + <script setup lang="ts"> const props = defineProps({ src: { @@ -19,9 +25,3 @@ }; }) </script> - -<template> - <div v-loading="loading" :style="'height:' + height"> - <iframe :src="url" frameborder="no" style="width: 100%; height: 100%" scrolling="auto" /> - </div> -</template> -- Gitblit v1.9.3