From 750a09d5b702f8e857f09ccc124565796f601d3f Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期四, 17 十一月 2022 13:50:35 +0800
Subject: [PATCH] 升级组件依赖到最新版本

---
 src/layout/components/InnerLink/index.vue |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

diff --git a/src/layout/components/InnerLink/index.vue b/src/layout/components/InnerLink/index.vue
index a1c3ef6..6d77d3a 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%"
@@ -21,23 +21,4 @@
 });
 
 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;
-      };
-    }
-})
 </script>

--
Gitblit v1.9.3