|
@@ -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'}}]
|