From 327e60d9f3663f0023912b09f8e17ed25a18e043 Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期日, 02 四月 2023 21:52:22 +0800 Subject: [PATCH] fix profile --- src/components/iFrame/index.vue | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/components/iFrame/index.vue b/src/components/iFrame/index.vue index 091b1a2..aff55e7 100644 --- a/src/components/iFrame/index.vue +++ b/src/components/iFrame/index.vue @@ -1,14 +1,4 @@ -<template> - <div v-loading="loading" :style="'height:' + height"> - <iframe - :src="url" - frameborder="no" - style="width: 100%; height: 100%" - scrolling="auto" /> - </div> -</template> - -<script setup> +<script setup lang="ts"> const props = defineProps({ src: { type: String, @@ -29,3 +19,9 @@ }; }) </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