Vue keep-alive component dynamic routing and multirouting corresponds to a file deployment developer or test server that does not walk by the lifecycle

vue keep-alive component dynamic routing and multirouting corresponds to a file local run dev walking by lifecycle deployment development or test server not walking by lifecycle

   {
        path: "/orders",
        component: Home,
        meta: { title: "" },
        children: [
            { path: ":" + ROUTE_PARAM_KEY_NAVIGATION_ORDER_STATE, component: orders, meta: { title: "",  component: "order" } }]
    },
        {
        path: "/task-manage",
        component: Home,
        meta: { title: "" },
        children: [
            { path: ":" + ROUTE_PARAM_KEY_NAVIGATION_ORDER_STATE, component: orders, meta: { title: "",  component: "order" } },  
        ]
    },

orders file

  beforeRouteEnter(to, from, next) {
    next(vm => {
      console.log("beforeRouteEnter",to,from)   
    })
  },
  beforeRouteUpdate(to, from, next) {
   console.log("beforeRouteUpdate",to,from)
    next()
  },

the above log prints on local run dev and does not print after deployment of the server
vue-router has been updated to the latest version.

Mar.09,2021
Menu