Commit 923c9f8c authored by hbcui1984's avatar hbcui1984

解决Hello mui中webview模式选项卡无法切换的bug

parent 004c5e33
...@@ -75,6 +75,8 @@ ...@@ -75,6 +75,8 @@
plus.webview.show(targetTab); plus.webview.show(targetTab);
//隐藏当前; //隐藏当前;
plus.webview.hide(activeTab); plus.webview.hide(activeTab);
//TODO 为了规避5+的bug,暂时需要执行两次隐藏
plus.webview.hide(activeTab);
//更改当前活跃的选项卡 //更改当前活跃的选项卡
activeTab = targetTab; activeTab = targetTab;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment