在index.html中加上以下代码 <script src="//cdn.jsdelivr.net/npm/eruda"></script> <script >eruda.init();</script>