vue 路由传参

传参

      this.$router.push({
        path: '/enterpriseCreditPublicity1',
        query: {
          taskNo: data1.taskNo,
      taskId: datal.taskId
} })

收参

this.$route.query.taskNo
this.$route.query.taskId
原文地址:https://www.cnblogs.com/javascript9527/p/12091898.html