Add tab tooltips cancle outer tab

This commit is contained in:
2022-03-02 18:51:07 +08:00
parent 51931f11fe
commit 19d77dceb0
10 changed files with 112 additions and 22 deletions
+5
View File
@@ -74,6 +74,11 @@ class Layout extends Emitter<ILayoutEvent> {
}
public focus = (panelId: string) => {
if (panelId === "") {
this.focusId = panelId;
this.emit("switchTab", this);
}
this.map((layout) => {
if (layout.panles && layout.panles.length > 0) {
let index = -1;