From 7b6fdb3a893275ff82ba5c868287a1e12dcd75f1 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Sun, 27 Apr 2025 11:56:21 +0800
Subject: [PATCH] remove all semicolons
---
ruoyi-ui/src/layout/components/InnerLink/index.vue | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/ruoyi-ui/src/layout/components/InnerLink/index.vue b/ruoyi-ui/src/layout/components/InnerLink/index.vue
index 6edcdec..afe66b5 100644
--- a/ruoyi-ui/src/layout/components/InnerLink/index.vue
+++ b/ruoyi-ui/src/layout/components/InnerLink/index.vue
@@ -24,24 +24,24 @@
return {
loading: false,
height: document.documentElement.clientHeight - 94.5 + "px;"
- };
+ }
},
mounted() {
- var _this = this;
- const iframeId = ("#" + this.iframeId).replace(/\//g, "\\/");
- const iframe = document.querySelector(iframeId);
+ var _this = this
+ const iframeId = ("#" + this.iframeId).replace(/\//g, "\\/")
+ const iframe = document.querySelector(iframeId)
// iframe页面loading控制
if (iframe.attachEvent) {
- this.loading = true;
+ this.loading = true
iframe.attachEvent("onload", function () {
- _this.loading = false;
- });
+ _this.loading = false
+ })
} else {
- this.loading = true;
+ this.loading = true
iframe.onload = function () {
- _this.loading = false;
- };
+ _this.loading = false
+ }
}
}
-};
+}
</script>
--
Gitblit v1.9.3