In the past, the for loop was laborious and laborious, and one sentence ended the judgment
let microsComArr = ["ROLE_XWGSZZH", "ROLE_XWGSYG_CGDB"];
let rolesArr = ["ROLE_BM_GYS", "ROLE_GYSYG_CGDB"];
this.isMicros = microsComArr.some(item => {
return rolesArr.includes(item);
});