From 90cbabb7a7a4b0dc5cf76f926b6cd63b989099f4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 04 Dec 2025 16:42:55 +0800
Subject: [PATCH] 优化代码
---
ruoyi-ui/src/components/DictTag/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/components/DictTag/index.vue b/ruoyi-ui/src/components/DictTag/index.vue
index e45ab32..4d90ac6 100644
--- a/ruoyi-ui/src/components/DictTag/index.vue
+++ b/ruoyi-ui/src/components/DictTag/index.vue
@@ -74,13 +74,13 @@
},
filters: {
handleArray(array) {
- if (array.length === 0) return '';
+ if (array.length === 0) return ''
return array.reduce((pre, cur) => {
- return pre + ' ' + cur;
+ return pre + ' ' + cur
})
},
}
-};
+}
</script>
<style scoped>
.el-tag + .el-tag {
--
Gitblit v1.9.3