Sfoglia il codice sorgente

FIX:红德堂-员工删除bug修复

Long 3 settimane fa
parent
commit
aaae11beef
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/company/companyUser/index.vue

+ 1 - 1
src/views/company/companyUser/index.vue

@@ -1343,7 +1343,7 @@ export default {
     /** 删除按钮操作 */
     /** 删除按钮操作 */
     handleDelete(row) {
     handleDelete(row) {
 
 
-      const userIds = row.userId || this.ids;
+      const userIds = [row.userId] || this.ids;
 
 
       // 筛选出 userType 为 '00' 的 userId
       // 筛选出 userType 为 '00' 的 userId
       const excludedUserIds = this.userList
       const excludedUserIds = this.userList