handleClose() {
var closeCreateLength = Object.assign(this.memberProfile,this.getFirContactData,this.getSecContactData,this.getThrContactData) ;
var getData = Object.values(closeCreateLength).filter((item:any) => {
//if (item !== "" && item.length !== 0) { //过滤之后数组还存在其他数组
if (item !== "") {
(this as any)
.$confirm(
`${(this as any).$t(
"member.MemberProfile.lang_memberprofile_113"
)}`,
`${(this as any).$t("member.MemberProfile.lang_memberprofile_96")}`,
{
distinguishCancelAndClose: true,
confirmButtonText: `${(this as any).$t(
"member.MemberProfile.lang_memberprofile_210"
)}`,
cancelButtonText: `${(this as any).$t(
"member.MemberProfile.lang_memberprofile_209"
)}`,
}
)
.then((res:any) => {
})
.catch((action: any) => {
if(action === "cancel"){
this.cancel();
}
});
return true
}
});
if(getData.length === 0){
this.cancel();
}
}