flat: 123

This commit is contained in:
Apcallover
2024-02-27 12:09:20 +08:00
parent 2e9bd16b81
commit 7c4c553d1e
3 changed files with 18 additions and 11 deletions

View File

@@ -1250,6 +1250,7 @@ export default {
this.workDataIdAttr = res.map((ele)=>{
return ele.id
})
console.log(123,res)
let workDataIdState = this.workDataIdAttr.indexOf(this.obj.worktypeIds);
//判断有无此工种
if(workDataIdState == -1){