如果有人遇到同样的问题,可以在控制台输入
- loadLink(['/static/codemirror/lib/codemirror.css']);
- loadScript(['/static/codemirror/lib/codemirror.js', '/static/codemirror/addon/edit/editAll.js', '/static/codemirror/mode/modeAll.js', '/static/codemirror/addon/dialog/dialog.js', '/static/codemirror/addon/search/search.js', '/static/codemirror/addon/scroll/annotatescrollbar.js']);
复制代码
临时用一下 |