Преглед изворни кода

获取仓管员的时候角色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();