|
@@ -100,12 +100,11 @@ export default {
|
|
|
// this.$refs['grouplist'].listData()
|
|
|
},
|
|
|
filtetContacts (type,val) {
|
|
|
+ this.activeGroupData = []
|
|
|
let allData = []
|
|
|
this.allData.map(item => item.phonebook).forEach(item2 => {
|
|
|
allData.push(...item2)
|
|
|
})
|
|
|
- console.log(allData);
|
|
|
-
|
|
|
if (type === 'name') {
|
|
|
this.activeGroupData.phonebook = allData.filter(e=>{
|
|
|
return e.name === val
|
|
@@ -128,8 +127,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this.tagList = res.data.option
|
|
|
- console.log(this.tagList);
|
|
|
-
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|