Browse Source

Merge branch '03/03GRADE' into 11/24SAAS

Xiao_Mo 3 years ago
parent
commit
6ec34b118a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/categroyManager/insideSetting/staffPlatManager.vue

+ 1 - 1
src/views/categroyManager/insideSetting/staffPlatManager.vue

@@ -1003,7 +1003,7 @@ export default {
           postalCode: data.postalCode,
           postDeptIds: postDeptArr,
           deptIds: tempDeptIds,
-          tenantIds: data.userTenantList.map(item=>{return item.tenantId}) || [],
+          tenantIds: data.userTenantList&&data.userTenantList.length>0?data.userTenantList.map(item=>{return item.tenantId}) : [],
         };
       } else {
         this.roleResetList = [...this.roleBaseList];