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/Sidebar/SidebarItem.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/layout/components/Sidebar/SidebarItem.vue b/ruoyi-ui/src/layout/components/Sidebar/SidebarItem.vue
index 3a81d29..53cc7b0 100644
--- a/ruoyi-ui/src/layout/components/Sidebar/SidebarItem.vue
+++ b/ruoyi-ui/src/layout/components/Sidebar/SidebarItem.vue
@@ -57,7 +57,7 @@
methods: {
hasOneShowingChild(children = [], parent) {
if (!children) {
- children = [];
+ children = []
}
const showingChildren = children.filter(item => {
if (item.hidden) {
@@ -89,7 +89,7 @@
return this.basePath
}
if (routeQuery) {
- let query = JSON.parse(routeQuery);
+ let query = JSON.parse(routeQuery)
return { path: path.resolve(this.basePath, routePath), query: query }
}
return path.resolve(this.basePath, routePath)
--
Gitblit v1.9.3