Commit 3c592cbd authored by jingnan's avatar jingnan 👀

prodTask增加判空

parent 03d92ca3
......@@ -239,7 +239,7 @@ export default {
this.$api.searchApi('ExtProcessSkillUser', params).then(res => {
if (res.items.content.length) {
const arr = []
this.basicData.prodTask.forEach(element => {
this.basicData.prodTask && this.basicData.prodTask.forEach(element => {
arr.push(element.extProcessSkillUserId)
})
res.items.content.forEach(item => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment