baoyubo 1 settimana fa
parent
commit
d7a365d709
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      routers/prod_api/system/menu/__init__.py

+ 1 - 1
routers/prod_api/system/menu/__init__.py

@@ -176,7 +176,7 @@ async def getRouters(request: Request, db: Session = Depends(get_db),
                     menu_data['path'] = '/index'
                     menu_data['component'] = "Layout"
                     menu_data['redirect'] = '/index'
-                    menu_data['children'] = [{"path":'/'+menu.path,
+                    menu_data['children'] = [{"path":'',
                                               "component":component,
                                               "name":menu.path,
                                               "meta": { 'title': menu.menu_name, 'icon': menu.icon,'noCache' : menu.is_cache == '1'}}]