请在项目目录运行 python3 -m http.server 8080,再访问 http://localhost:8080。
python3 -m http.server 8080
http://localhost:8080