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/components/ImagePreview/index.vue | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/ruoyi-ui/src/components/ImagePreview/index.vue b/ruoyi-ui/src/components/ImagePreview/index.vue
index 2fa02d7..0cbb79d 100644
--- a/ruoyi-ui/src/components/ImagePreview/index.vue
+++ b/ruoyi-ui/src/components/ImagePreview/index.vue
@@ -31,30 +31,30 @@
computed: {
realSrc() {
if (!this.src) {
- return;
+ return
}
- let real_src = this.src.split(",")[0];
- return real_src;
+ let real_src = this.src.split(",")[0]
+ return real_src
},
realSrcList() {
if (!this.src) {
- return;
+ return
}
- let real_src_list = this.src.split(",");
- let srcList = [];
+ let real_src_list = this.src.split(",")
+ let srcList = []
real_src_list.forEach(item => {
- return srcList.push(item);
- });
- return srcList;
+ return srcList.push(item)
+ })
+ return srcList
},
realWidth() {
- return typeof this.width == "string" ? this.width : `${this.width}px`;
+ return typeof this.width == "string" ? this.width : `${this.width}px`
},
realHeight() {
- return typeof this.height == "string" ? this.height : `${this.height}px`;
+ return typeof this.height == "string" ? this.height : `${this.height}px`
}
},
-};
+}
</script>
<style lang="scss" scoped>
--
Gitblit v1.9.3