From 47b5afd8017a1e011725efb1c7205afb3463ce4d Mon Sep 17 00:00:00 2001 From: echo Date: Sat, 20 Jan 2018 13:15:54 +0800 Subject: [PATCH] fix bug: polyfill old version of IE --- drawMapGUI.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drawMapGUI.html b/drawMapGUI.html index 01301fc3..95d3cb70 100644 --- a/drawMapGUI.html +++ b/drawMapGUI.html @@ -146,7 +146,8 @@ editor.prototype.init = function(){ }); Promise.all([p1, p2, p3]) - .then(function([maps, icons, img]){ + .then(function(results){ + var maps = results[0], icons = results[1]; editor.idsInit(maps, icons); // 初始化图片素材信息 editor.drawInitData(icons); // 初始化绘图 editor.listen(); // 开始监听事件