Permalink
Browse files

api参数修改导致检索不到manifest文件

  • Loading branch information...
许彦峰
许彦峰 committed Aug 17, 2018
1 parent 55c6b6b commit f1cf7bef58be9c0ed9b3fd4114737b4882509128
Showing with 2 additions and 1 deletion.
  1. +2 −1 packages/hot-update-tools/panel/index.js
@@ -478,7 +478,8 @@ Editor.Panel.extend({
// });
},
initLocalGameVersion() {
Editor.assetdb.queryAssets('db://assets/**\/*', "raw-asset", function (err, results) {
// TODO 在creator1.10以上变成了asset
Editor.assetdb.queryAssets('db://assets/**\/*', "asset", function (err, results) {
let versionCfg = "";
let projectCfg = "";
results.forEach(function (result) {

1 comment on commit f1cf7be

@tidys

This comment has been minimized.

Copy link
Owner

tidys commented on f1cf7be Nov 22, 2018

Creator在1.10+之后的版本,对Editor.assetdb.queryAssets接口的参数做了调整,有可能造成插件检索不到项目的manifest文件
如果你也遇到了这个问题,可以参考这里,进行修改

Please sign in to comment.