import React, { ReactNode } from 'react'; interface IProps { /** * 全屏调试 */ fill?: boolean; children?: React.ReactNode; } export class Component extends React.PureComponent { render(): ReactNode { const { fill } = this.props; if (fill) { // return } return {this.props.children}; } }