<button @click = "func()">跳转</button> //js
<script>
export default{
methods:{
func (){
this.$router.push({path: '/order/b',query:{ price:69.00 }});
}
}
}
</script>
相关文章
- 11-15vue + axios + formdata 上传文件带参数的爬坑之路
- 11-15Vue 中使用axios传参数,后端收不到数据
- 11-15vue+element+aixos上传文件formData形式传参
- 11-152、【上传文件】vue+iview如何上传文件并携带请求头和参数实现批量导入数据?
- 11-15vue+axios+el-upload实现文件上传(带参数):
- 11-15VueRouter路由跳转报错vue-router.esm.js?fe87:1958 Uncaught (in promise) NavigationDuplicated: Avoided redun
- 11-15vue动态添加路由,跳转页面时,页面报错路由重复:vue-router.esm.js?8c4f:16 [vue-router] Duplicate named routes definition: {
- 11-15netcore3.1+vue ElementUI多文件带参数上传
- 11-15vue中this.$router.push()路由传值和获取的两种常见方法
- 11-15Vue系列:通过vue-router如何传递参数