第一步
根目录 \web\resource\js\app\util.js
搜索关键词’a.execCommand("insertimage’
在下面位置插入代码
let newArr = JSON.parse(JSON.stringify(b));
for(var i=0; i<b.length; i++){
newArr.splice(b[i]['key'],1,b[i]);
}
b = newArr;
第二步
web\resource\components\fileuploader\fileuploader.min.js
搜索关键词 c.on(“uploadSuccess”
插入代码:
let aa = a.id.split('WU_FILE_');
b.key = Number(aa[1]);