梁航:我的匹配接口
This commit is contained in:
@@ -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:{
|
||||
|
||||
Reference in New Issue
Block a user