From 6263b5736c0b81c618de1528f79457c58c079f14 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Mon, 29 Apr 2024 17:20:34 +0800 Subject: [PATCH] roles --- pages/home/home.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'},