소스 검색

获取仓管员的时候角色id改为空

cz 2 년 전
부모
커밋
ec7a5f2671
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/product-material/warehouse/index.vue

+ 1 - 1
src/views/product-material/warehouse/index.vue

@@ -142,7 +142,7 @@ export default {
       label: item.dictValue,
       value: item.dictKey,
     }));
-    getListByRole({ roleId: this.userInfo.role_id }).then((res) => {
+    getListByRole({ roleId: "" }).then((res) => {
       this.customerSelectList = res.data.data;
     });
     this.getList();