From cb80de3742d66cfee20bc3136c735e5ca5a7d45c Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期三, 29 十一月 2023 12:44:42 +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