From bf977fe00a88bad92a8d73648624cbf05b9218c4 Mon Sep 17 00:00:00 2001
From: bestrevens <201840026@qq.com>
Date: 星期二, 31 十月 2023 16:54:22 +0800
Subject: [PATCH] update 优化表格列的显示与隐藏小组件 优化表格列的显示与隐藏小组件,解决小组件之间距离间隔不一样的问题

---
 src/components/HeaderSearch/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/HeaderSearch/index.vue b/src/components/HeaderSearch/index.vue
index 85c6ca0..b922c6c 100644
--- a/src/components/HeaderSearch/index.vue
+++ b/src/components/HeaderSearch/index.vue
@@ -88,7 +88,7 @@
 }
 // Filter out the routes that can be displayed in the sidebar
 // And generate the internationalized title
-const generateRoutes = (routes: RouteOption[], basePath = '', prefixTitle: string[] = [], query: any = {}) => {
+const generateRoutes = (routes: RouteOption[], basePath = '', prefixTitle: string[] = []) => {
   let res: Router = []
   routes.forEach(r => {
     // skip hidden router
@@ -114,7 +114,7 @@
 
       // recursive child routes
       if (r.children) {
-        const tempRoutes = generateRoutes(r.children, data.path, data.title, data.query);
+        const tempRoutes = generateRoutes(r.children, data.path, data.title);
         if (tempRoutes.length >= 1) {
           res = [...res, ...tempRoutes];
         }

--
Gitblit v1.9.3