members: Member[] | ServerMember[];
这种类型的数组,直接写filter,会报错:ts2349 this expression is not callable
解决方法,重新封装数组或者使用for循环
// this.notAdimnOwnerList = this.chat_obj_outer.members.filter()
// this.notAdimnOwnerList = this.chat_obj_outer.members.filter(i => !this.typeIsAdminOwner(i.type)).map(item => item.eid);
this.notAdimnOwnerList = [...this.chat_obj_outer.members].filter(i => !this.typeIsAdminOwner(i.type)).map(item => item.eid);
// let notAdimnOwnerList = [];
// for (let i of this.chat_obj_outer.members){
// if (!this.typeIsAdminOwner(i.type)){
// notAdimnOwnerList.push(i.eid);
// };
// };
// this.notAdimnOwnerList = notAdimnOwnerList;