如果这个提示一直不消失,说明前端脚本没有成功加载。
请确认你打开的是 Vite 前端地址,例如 http://localhost:5173,不是后端地址 http://localhost:3001。
http://localhost:5173
http://localhost:3001
也可以按 F12 → Console 查看红色报错。