点击tab按钮，切换pane