fix(apps): fix rootlayout page class name (#9279)

This commit is contained in:
William Juan
2021-03-24 21:06:41 +07:00
committed by Nathan Walker
parent cc592b63fd
commit b4415683d8

View File

@@ -2,10 +2,10 @@ import { EventData, Page, Observable, RootLayoutOptions, getRootLayout, StackLay
export function navigatingTo(args: EventData) { export function navigatingTo(args: EventData) {
const page = <Page>args.object; const page = <Page>args.object;
page.bindingContext = new BoxShadowModel(); page.bindingContext = new RootLayoutModel();
} }
export class BoxShadowModel extends Observable { export class RootLayoutModel extends Observable {
popupViews: { view: View; options: RootLayoutOptions; extra?: any }[] = [ popupViews: { view: View; options: RootLayoutOptions; extra?: any }[] = [
{ {
view: this.getPopup('#EA5936', 110, -30), view: this.getPopup('#EA5936', 110, -30),