feat:add Popover for Android step1

This commit is contained in:
pengfei.zhou
2019-11-29 10:00:29 +08:00
parent c0eae0f8a2
commit 33336b0873
7 changed files with 67 additions and 18 deletions

View File

@@ -121,6 +121,9 @@ export abstract class Panel {
private retrospectView(ids: string[]): View | undefined {
return ids.reduce((acc: View | undefined, cur) => {
if (acc === undefined) {
if (cur === this.__root__.viewId) {
return this.__root__
}
return this.headviews.get(cur)
} else {
if (Reflect.has(acc, "subviewById")) {