From 90cbabb7a7a4b0dc5cf76f926b6cd63b989099f4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 04 Dec 2025 16:42:55 +0800
Subject: [PATCH] 优化代码
---
ruoyi-ui/src/components/iFrame/index.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ruoyi-ui/src/components/iFrame/index.vue b/ruoyi-ui/src/components/iFrame/index.vue
index 426857f..f4334f3 100644
--- a/ruoyi-ui/src/components/iFrame/index.vue
+++ b/ruoyi-ui/src/components/iFrame/index.vue
@@ -21,16 +21,16 @@
height: document.documentElement.clientHeight - 94.5 + "px;",
loading: true,
url: this.src
- };
+ }
},
mounted: function () {
setTimeout(() => {
- this.loading = false;
- }, 300);
- const that = this;
+ this.loading = false
+ }, 300)
+ const that = this
window.onresize = function temp() {
- that.height = document.documentElement.clientHeight - 94.5 + "px;";
- };
+ that.height = document.documentElement.clientHeight - 94.5 + "px;"
+ }
}
-};
+}
</script>
--
Gitblit v1.9.3