ccc版本:2.4.0 mac版
Build Failed: TypeError: Cannot read property ‘getAssetUuids’ of undefined
自己的工具遇到一个问题,说这个getAssetUuids()函数没有了。是改了么?
调用的地方是在自己代码的这个回调里
function onBeforeChangeFiles (options, callback) {
//Editor.log(options);
let opt = options;
let br = opt.buildResults;
buildOpt = opt;
buildResUuids = br.getAssetUuids();
callback();
}
这个回调是Editor.Builder.on的 “before-change-files” 的 处理函数
Editor.Builder.on(“before-change-files”, onBeforeChangeFiles);
谁能给个文档连接?