import { Component } from 'vue-property-decorator'; import { AppStyle2DefaultLayout } from '../app-style2-default-layout/app-style2-default-layout'; import "./app-style2-wfactionview-layout.less"; @Component({}) export class AppStyle2WFActionViewLayout extends AppStyle2DefaultLayout { /** * 绘制视图 * * @memberof AppStyle2WFActionViewLayout */ render(h: any): any { const { codeName } = this.viewInstance; const viewClassNames = this.initRenderClassNames(); const styleMode: any = this.$uiState.layoutState.styleMode; if (Object.is('DEFAULT', styleMode)) { return ( {this.renderViewCaption()} {this.$slots.default} ); } else { return ( {this.renderViewCaption()} {this.$slots.default} ); } } }