import type { FunctionalComponent } from 'vue' import { Layout } from 'ant-design-vue' export interface WrapContentProps { isChildrenLayout?: boolean location?: any contentHeight?: number | string ErrorBoundary?: any } // TODO 异常处理 const WrapContent: FunctionalComponent = (props, { slots, attrs }) => { // const ErrorComponent = props.ErrorBoundary || ErrorBoundary return ( // {props.ErrorBoundary === false ? ( // // {slots.default} // // ) : ( // // // {children} // // // )} {slots.default?.()} ) } export default WrapContent