我对 JS 和 Phone Gap 的世界还比较陌生。我在我的应用程序上使用 Native TabBar 插件,但是当我的一个选项卡调用时,它运行良好:
function TabPressed(){
window.open('www.google.com', '_self', 'location=no');
}
我的 TabBar 失去了它的功能。我想这是因为 window.open 正在打开一个带有新 js 等的新网页......当打开一个新窗口时,我如何仍然允许我的 tabBar 运行。