25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

2 satır
821B

  1. import{B as u}from"./index.88314652.js";const r=u.userStore.userInfo||{},n=r.userRoleInfoList.map(e=>e.code),c=(e,o="or")=>{var i=o==="and";return e.forEach(s=>{n.includes(s)&&o==="or"?i=!0:!n.includes(s)&&o==="and"&&(i=!1)}),i},t=e=>n.includes("SUPER_ADMIN")&&Object.keys(e).includes("SUPER_ADMIN")?{regionCode:330500,regionLevel:2}:n.includes("VISITOR")&&Object.keys(e).includes("VISITOR")?{regionCode:330500,regionLevel:2}:n.includes("REGION_MANAGER")&&Object.keys(e).includes("REGION_MANAGER")?{regionCode:Number(r.regionCode),regionLevel:r.regionCode==="330500"&&!e.REGION_MANAGER?2:3}:n.includes("EXPERT_ADMIN")&&Object.keys(e).includes("EXPERT_ADMIN")?{regionCode:Number(r.regionCode),regionLevel:r.regionCode==="330500"&&!e.EXPERT_ADMIN?2:3}:{regionCode:Number(r.regionCode),regionLevel:3};export{t as a,c as g};