import { defineComponent } from 'vue' ; import { RouterView } from 'vue-router' ; import { Layout } from 'ant-design-vue' ; import MiBreadcrumb from './breadcrumb' ; import MiRouteHistory from '../history' ; export default defineComponent ( { name : 'MiContent' , data ( ) { return { transition : 'slider-right' , visible : true , timer : null } ; } , created ( ) { if ( ! this . $route ) this . $tools . importError ( 'vue-router' ) ; } , render ( ) { return ( < Layout . Content class = "mi-layout-content" > < MiBreadcrumb > < /MiBreadcrumb> < MiRouteHistory > < /MiRouteHistory> < div class = "mi-layout-custom-content" > < RouterView > < /RouterView> < /div> < /Layout.Content>); } } ) ;