fix: team_photon去除硬编码

This commit is contained in:
caoqianming 2023-12-21 13:25:28 +08:00
parent 21c6b5177b
commit 01276e0a00
1 changed files with 0 additions and 6 deletions

View File

@ -134,12 +134,6 @@ import memberDialog from "./team_form.vue";
getDeptData() { getDeptData() {
this.$API.system.dept.list.req({ page: 0,type:'dept'}).then(res=>{ this.$API.system.dept.list.req({ page: 0,type:'dept'}).then(res=>{
let data = []; let data = [];
res.forEach(item => {
if(item.parent=='3423856735881117696'){
data.push(item)
}
});
console.log(data)
this.deptData = data; this.deptData = data;
}); });
}, },