admin/fix_user_manage_routes.bat

25 lines
678 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
echo ========================================
echo 完整修复所有路由配置
echo ========================================
echo.
echo 此脚本将修复:
echo 1. 所有路由名称(统一使用下划线)
echo 2. 所有组件路径(修复父路由组件引用)
echo 3. 角色菜单配置(匹配新的路由名称)
echo.
mysql -u root -proot < fix_user_manage_routes.sql
echo.
echo ========================================
echo 修复完成!
echo ========================================
echo.
echo 下一步操作:
echo 1. 重启后端服务(运行 backend\start.bat
echo 2. 清除浏览器缓存
echo 3. 刷新浏览器页面
echo.
pause