这里的问题很琐碎。无法弄清楚。我正在尝试从中获取结果,primaryWork并将secondaryWork这些结果分配给variable myWorkList。请让我知道我在这里做错了。谢谢 let myWorkList let primaryWork = this.list.filter(r => r.worker === null) let secondaryWork = this.list.filter(r => r.worker === this.currentWorker.id) if (this.list) { if (this.superuser && this.currentWorker) myWorkList = primaryWork && secondaryWork } return myWorkList
添加回答
举报
0/150
提交
取消