feat: add function of filtering menu data through authority; ⭐
新增:增加通过权限过滤菜单数据的功能;
This commit is contained in:
@@ -56,8 +56,8 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapState('setting', ['isMobile', 'theme', 'layout', 'footerLinks', 'copyright', 'fixedHeader', 'fixedSideBar',
|
||||
'hideSetting', 'menuData']),
|
||||
...mapGetters('setting', ['firstMenu', 'subMenu']),
|
||||
'hideSetting']),
|
||||
...mapGetters('setting', ['firstMenu', 'subMenu', 'menuData']),
|
||||
sideMenuWidth() {
|
||||
return this.collapsed ? '80px' : '256px'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user