"use strict";let t=[{pagePath:"/pages/index/index",iconPath:"/static/tabbar/home_icon.png",selectedIconPath:"/static/tabbar/home_active.png",text:"首页"},{pagePath:"/pages/me/index",iconPath:"/static/tabbar/news_icon.png",selectedIconPath:"/static/tabbar/news_active.png",text:"我的"}];exports.setTabBar=function(e){var a,n,l,o,i;const c=getCurrentPages(),u=c[c.length-1];if(u){const o=(null==u?void 0:u.getTabBar)?null==u?void 0:u.getTabBar():null;let i=null==(l=null==(n=null==(a=null==e?void 0:e.companyConfig)?void 0:a.config_value)?void 0:n.menu)?void 0:l.map((t=>{var e,a,n,l;return{...t,iconPath:null==(a=null==(e=t.iconPath)?void 0:e[0])?void 0:a.url,selectedIconPath:null==(l=null==(n=t.selectedIconPath)?void 0:n[0])?void 0:l.url}}));getApp().globalData.menuList=i||t,o&&o.setData({list:i||t})}console.log("App.globalData.selectedOrg",null==(i=null==(o=null==e?void 0:e.companyConfig)?void 0:o.config_value)?void 0:i.menu)};
