diff --git a/src/views/hrm/team_photon.vue b/src/views/hrm/team_photon.vue index ebb321b6..60066829 100644 --- a/src/views/hrm/team_photon.vue +++ b/src/views/hrm/team_photon.vue @@ -133,8 +133,7 @@ import memberDialog from "./team_form.vue"; //部门数据 getDeptData() { this.$API.system.dept.list.req({ page: 0,type:'dept'}).then(res=>{ - let data = []; - this.deptData = data; + this.deptData = res; }); }, //添加班组