梁航:我的匹配接口

This commit is contained in:
hot777zz
2023-11-16 18:16:49 +08:00
parent 126a39edf8
commit 209b3cc1cd
3 changed files with 43 additions and 24 deletions

View File

@@ -23,10 +23,17 @@
data() {
return {
titletext:'',
listId:''
listId:'',
matchList:[]
}
},
methods: {
getMatch(){
this.$api.getMyMatch().then(res => {
this.macthList = res.data.data
console.log(res);
})
}
},
onLoad: function (option) {
@@ -47,9 +54,10 @@
if(this.titletext == '发布的店铺出租'){
this.listId = 3
}
if(this.titletext == '我的匹配')
if(this.titletext == '我的匹配'){
this.listId = 4
this.getMatch()
}
},
computed:{