Merge pull request #29 from zhaouv/fix-bug

fix bug
This commit is contained in:
Zhang Chen authored and GitHub committed 2018-01-01 09:19:04 +08:00
commit 059566cf68
1 file changed
+1 -1
+1 -1
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){