二手车交易,返回按钮路径

This commit is contained in:
2025-03-14 13:57:07 +08:00
parent b9ae7eef5d
commit b349671004
4 changed files with 21 additions and 5 deletions

View File

@ -267,10 +267,10 @@ export default {
if(type===1){//车源发布
this.$router.push({
name: "carSource",
query: { type:1 }
query: { type:1,homePage:true }
})
}else{//求购发布
this.$router.push({ name: "wantBuy", query: { type:1 } })
this.$router.push({ name: "wantBuy", query: { type:1,homePage:true } })
}
this.setSearchVal();
},