Vue asyncComponent asynchronously loading routing parameters such as delay is invalid?

The

code is as follows. I want to load the route lazily, but I can carry out the prompt in the process of loading. Follow the prompt on the official website, but delay has no effect
route loading:
{

    path: "/Me",
    name: "Me",
    //component: r => import("@/views/loading/loadable")
    component:  asyncComponent()
}

asyncComponent function:
import LoadingComponent from"@ / views/loading/index.vue"
import errorCom from"@ / views/loading/error"
export default (asyncComponent) = > {

const Com= function(){
    let a = {
        component: require("@/views/Me"),
        loading: LoadingComponent,
        error: errorCom,
        delay: 2000
    }
    return a
}
return {
    render: function (h) {
        return h(Com, {})
    }
}

}

Mar.31,2021

has this problem been solved? I have also encountered this problem. The factory function is valid when it is put into the component, but as a route, it does not produce loading effect


component: () = > asyncComponent ()

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c6e1-2c2fa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c6e1-2c2fa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?