Merge pull request #29 from zhaouv/fix-bug

fix bug
This commit is contained in:
Zhang Chen 2018-01-01 09:19:04 +08:00 committed by GitHub
commit 059566cf68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ editor.prototype.loadAllImgs = function(icons){
return Promise.all(p);
}
editor.prototype.idsInit = function(maps, icons){
editor.ids = [];
editor.ids = [0];
editor.indexs = [];
var MAX_NUM = 400;
var getInfoById = function(id){