From 8217c63d1610a9d89419c69947beb4fb3bb7c7e4 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 20 五月 2026 17:03:05 +0800
Subject: [PATCH] style(frontend): 格式化代码缩进并增强API调用安全性
---
src/components/SvgIcon/svgicon.js | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/components/SvgIcon/svgicon.js b/src/components/SvgIcon/svgicon.js
index b7c1907..05284e3 100644
--- a/src/components/SvgIcon/svgicon.js
+++ b/src/components/SvgIcon/svgicon.js
@@ -1,10 +1,10 @@
import * as components from '@element-plus/icons-vue'
export default {
- install: (app) => {
- for (const key in components) {
- const componentConfig = components[key];
- app.component(componentConfig.name, componentConfig);
- }
- },
-};
+ install: (app) => {
+ for (const key in components) {
+ const componentConfig = components[key]
+ app.component(componentConfig.name, componentConfig)
+ }
+ }
+}
--
Gitblit v1.9.3