将编辑器添加到源视图。修改代码以在原始页面上运行。使用 ACE 编辑器。试试这个。 1.修改代码。 http://jsrun.it/kyo_ago/hyZJ/js?test.js 2. 打开原始页面。 http://jsrun.it/kyo_ago/hyZJ