PortalViewBase.tsx 548 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
import { ViewBase } from './ViewBase';

/**
 * 门户视图基类
 *
 * @export
 * @class PortalViewBase
 * @extends {ViewBase}
 */
export class PortalViewBase extends ViewBase {

    /**
     * 应用起始页面
     *
     * @type {boolean}
     * @memberof PortalViewBase
     */
    public isDefaultPage: boolean = false;

    /**
     * 组件挂载完毕
     *
     * @memberof PortalViewBase
     */
    public mounted(): void {
        super.mounted();
        this.viewState.next({ tag: 'dashboard', action: 'load', data: {} });
    }

}