From f2a0f694655c5b58b7f9fd002493bdaa393ae6ff Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期一, 21 四月 2025 15:29:14 +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