Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tower1229 committed Aug 25, 2018
1 parent f121a73 commit 3e9d947
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdk/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ define(function(require, exports, module) {
$body.on('touchstart', '#goBack', function(e) {
app.window.close();
//销毁百度地图实例
if(window.api){
try{
var map = api.require('bMap');
map.close();
}catch(e){
console.log(e.message)
}
});

Expand Down

0 comments on commit 3e9d947

Please sign in to comment.