This commit is contained in:
YouWei Zhao committed 2017-12-31 10:54:11 +08:00
1 parent fd8a03a90d
commit fb7749a67e
1 file changed
+2 -2
+2 -2
View File
@@ -438,8 +438,8 @@ editor.prototype.init = function(){
var p1 = editor.loadjs(mapsjsUrl).then(function(){ // 加载maps.js
var maps_ = new maps(); //实例化maps
maps.init();
return maps
maps_.init();
return maps_
});
var p2 = editor.loadjs(iconsjsUrl) // 加载icons.js
.then(function(){ // 实例化并获取icons