-- 修复用户管理子路由的组件路径
USE soybean_admin;

-- 修复用户管理的三个子路由
UPDATE sys_route SET component = 'view.user-manage_list' WHERE route_id = 'user_list';
UPDATE sys_route SET component = 'view.user-manage_role' WHERE route_id = 'user_role';
UPDATE sys_route SET component = 'view.user-manage_permission' WHERE route_id = 'user_permission';

-- 验证修改结果
SELECT '=== 用户管理路由配置 ===' AS info;
SELECT route_id, name, path, component 
FROM sys_route 
WHERE route_id IN ('user_manage', 'user_list', 'user_role', 'user_permission')
ORDER BY order_num;
