Vue文件跳转$router传参数

<button @click = "func()">跳转</button>

//js
<script>
    export default{
        methods:{
            func (){
                this.$router.push({path: '/order/b',query:{ price:69.00 }});
            }
        }
    }
</script>

原文地址:https://www.cnblogs.com/wuheng1991/p/7580214.html