import { Component } from 'vue-property-decorator'; import { AppStyle2DefaultLayout } from '../app-style2-default-layout/app-style2-default-layout'; import "./app-style2-wfdynaactionview-layout.less"; @Component({}) export class AppStyle2WFDynaActionViewLayout extends AppStyle2DefaultLayout { /** * 绘制视图 * * @memberof AppStyle2WFDynaActionViewLayout */ 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} ); } } }