|
|
@@ -347,7 +347,8 @@ export default {
|
|
|
},
|
|
|
async call(e) {
|
|
|
const { sn, idx, type: roomtype } = e;
|
|
|
- const target = this.contactList[idx];
|
|
|
+ const target = this.contactList.find((item) => item.id === sn);
|
|
|
+ // const target = this.contactList[idx];
|
|
|
const apiTypeName = this.apiTypesValid[this.apiTypeIndex];
|
|
|
const businessType = apiTypes.indexOf(apiTypeName);
|
|
|
try {
|