vue 连接路由跳转

this.$route.push({path:'/FirstPage'})

或者

this.$route.push({name:firstpage})

router文件内:

    {
      path: "/FirstPage",//形成对应关系
      name: "firstpage",//形成对应关系
      component: FirstPage
    },
posted @ 2020-09-17 16:00  十、  阅读(191)  评论(0)    收藏  举报