Commit db3cbcdd authored by chenqikuai's avatar chenqikuai

fix

parent 4fb34dcc
......@@ -26,7 +26,7 @@ export default defineComponent({
},
tabList() {
const user = getUserMsg()
return (user && tabList.filter(i => i.roles.includes(user.role))) || tabList.filter(i => i.showNotLogin);
return (user && tabList.filter(i => i.roles.includes(user.role2))) || tabList.filter(i => i.showNotLogin);
},
},
});
......
......@@ -6,7 +6,7 @@ export default [
routeName: 'Home',
icon: 'icon-shouye-tab-xuanze1',
icon1: 'icon-shouye-tab',
roles: [eRole.user, eRole.staff],
roles: [eRole.user, eRole.staff, eRole.doNotChat],
showNotLogin: true,
},
{
......@@ -23,7 +23,7 @@ export default [
routeName: 'Loan',
icon: 'icon-daikuan-tab-xuanze',
icon1: 'icon-daikuan-tab',
roles: [eRole.user, eRole.staff],
roles: [eRole.user, eRole.staff, eRole.doNotChat],
showNotLogin: true,
},
{
......@@ -31,7 +31,7 @@ export default [
routeName: 'Mine',
icon: 'icon-wode-tabdianji',
icon1: 'icon-wode-tab',
roles: [eRole.user, eRole.staff],
roles: [eRole.user, eRole.staff,eRole.doNotChat],
showNotLogin: true,
},
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment