解决方案 改为子路由用数组方式就可以了
children: [{
path: '/result',
name: 'result',
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ '../views/search/result.vue')
}]