Browse Source

分选检查

wangxin 1 year ago
parent
commit
6d107b52dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/dashboard/index.vue

+ 1 - 1
pages/dashboard/index.vue

@@ -288,7 +288,7 @@
 	function handleDeptChange() {
 		let curDept = userDeptList.value.find(item => item.deptId === curSelectedDeptId.value)
 		store.curDeptDetails = curDept
-		if (curDept.deptName === '分选' || store.userInfo.roles.some(item => item.roleKey == 'Sorting inspector')) {
+		if (curDept.deptName === '分选' || store.userInfo.roles.some(item => item.roleKey == 'sortingInspector')) {
 			showSizing.value = true
 		} else {
 			showSizing.value = false