diff --git a/pages/home/home.vue b/pages/home/home.vue index 6bc695a..8372317 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -49,7 +49,7 @@ {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'} ] } - if (this.roles === 'A1') { + if (this.roles === 'A1,') { this.menuList = [ {id: '1', name: '原材料入库', icon: 'RF03', path: '/pages/modules/rawmater-instore'}, {id: '2', name: '原材料出库', icon: 'RF07', path: '/pages/modules/rawmater-outstore'}, @@ -57,7 +57,7 @@ {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'} ] } - if (this.roles === 'A2') { + if (this.roles === 'A2,') { this.menuList = [ {id: '3', name: '搬运任务', icon: 'RF01', path: '/pages/modules/carry-task'}, {id: '4', name: '组盘解绑', icon: 'RF04', path: '/pages/modules/zupan-unbind'},