apicloud 按返回键
api.addEventListener({ name: 'keyback' }, function(ret, err) {
//调取index.html暴露的方法 api.execScript({ name: 'root', script: 'loadReadyt()', });
//跳转index.html api.openWin({ name: 'home', url: '../index.html' }); });
api.addEventListener({ name: 'keyback' }, function(ret, err) {
//调取index.html暴露的方法 api.execScript({ name: 'root', script: 'loadReadyt()', });
//跳转index.html api.openWin({ name: 'home', url: '../index.html' }); });