weixin_44054451 2020-04-23 10:51 采纳率: 0%
浏览 1354

我在jsp中引入wangeditor初始化的时候控制台报E is not a constructor,打印E的时候是undefined?

var E = window.wangEditor;
console.log(E)//undefined
var editor = new E('#editor');
//开启debug模式
editor.customConfig.debug = true;
editor.customConfig.uploadFileName = 'file'; //设置文件上传的参数名称
editor.customConfig.uploadImgServer = "<%=basePath %>appUpload/editorUpload";
editor.create();

  • 写回答

3条回答 默认 最新

  • qq_37324779 2022-05-28 13:57
    关注

    楼主解决了吗

    评论

报告相同问题?