add navbar custom left & right view api

This commit is contained in:
王劲鹏
2020-01-10 15:55:47 +08:00
committed by osborn
parent 54b79e7f1e
commit 848b7005b7
9 changed files with 150 additions and 5 deletions

View File

@@ -123,7 +123,12 @@ export class Panel {
if (cur === this.__root__.viewId) {
return this.__root__;
}
return this.headviews.get(cur);
for (let map of this.headviews.values()) {
if (map.has(cur)) {
return map.get(cur);
}
}
return undefined;
}
else {
if (Reflect.has(acc, "subviewById")) {