席位
This commit is contained in:
@@ -172,6 +172,7 @@ export default {
|
|||||||
this.getTableDataGroup()
|
this.getTableDataGroup()
|
||||||
},
|
},
|
||||||
getTableDataGroup() {
|
getTableDataGroup() {
|
||||||
|
this.tableDataGroup = []
|
||||||
this.instance.post(`/app/xbotCallback/groupList`,null,{
|
this.instance.post(`/app/xbotCallback/groupList`,null,{
|
||||||
params: {
|
params: {
|
||||||
// ...this.searchGroup,
|
// ...this.searchGroup,
|
||||||
@@ -180,11 +181,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if(res?.data) {
|
if(res?.data) {
|
||||||
this.tableDataGroup = JSON.parse(res.data)
|
var tableDataGroup = JSON.parse(res.data)
|
||||||
this.tableDataGroup.map((item) => {
|
tableDataGroup.map((item) => {
|
||||||
item.num = item.member_list.length
|
item.num = item.member_list.length
|
||||||
|
if(item.total_member > 2) {
|
||||||
|
this.tableDataGroup.push(item)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
// this.totalGroup = res.data.total
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user