hive-app/pages/manager/selectEmployee.vue
@@ -54,6 +54,7 @@ this.loadMemberList(); }, loadMemberList(){ let selectedArr = this.selectIds?this.selectIds.split(','):[]; this.$httpUtils.request('/api/user/findAllUsers', { queryKey: this.queryKey }, 'POST').then((res) => { @@ -62,7 +63,7 @@ let index = this.selectItems.findIndex((op) => { return op.id == item.id }); if(this.selectIds && this.selectIds.indexOf(item.id) > -1){ if(this.selectIds && selectedArr.includes(item.id.toString())){ if(index == -1){ this.selectItems.push(item); }