From 2f8a257efd2b64dc40666b0d332edb7824a9768d Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期日, 27 四月 2025 09:58:29 +0800
Subject: [PATCH] remove all semicolons

---
 src/layout/components/InnerLink/index.vue |   25 +++----------------------
 1 files changed, 3 insertions(+), 22 deletions(-)

diff --git a/src/layout/components/InnerLink/index.vue b/src/layout/components/InnerLink/index.vue
index a1c3ef6..6839730 100644
--- a/src/layout/components/InnerLink/index.vue
+++ b/src/layout/components/InnerLink/index.vue
@@ -1,5 +1,5 @@
 <template>
-  <div :style="'height:' + height" v-loading="loading" element-loading-text="姝e湪鍔犺浇椤甸潰锛岃绋嶅�欙紒">
+  <div :style="'height:' + height">
     <iframe
       :id="iframeId"
       style="width: 100%; height: 100%"
@@ -18,26 +18,7 @@
   iframeId: {
     type: String
   }
-});
-
-const height = ref(document.documentElement.clientHeight - 94.5 + "px");
-const loading = ref(false);
-
-onMounted(() => {
-    const { proxy } = getCurrentInstance()
-    const iframeId = ("#" + props.iframeId).replace(/\//g, "\\/");
-    const iframe = document.querySelector(iframeId);
-    // iframe椤甸潰loading鎺у埗
-    if (iframe.attachEvent) {
-      loading.value = true;
-      iframe.attachEvent("onload", function () {
-        proxy.loading = false;
-      });
-    } else {
-      loading.value = true;
-      iframe.onload = function () {
-        proxy.loading = false;
-      };
-    }
 })
+
+const height = ref(document.documentElement.clientHeight - 94.5 + "px")
 </script>

--
Gitblit v1.9.3