zs 2 年之前
父节点
当前提交
c892ce3cc3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pagesMy/dough/index.vue

+ 1 - 1
pagesMy/dough/index.vue

@@ -121,7 +121,7 @@
 						let list = [...that.list, ...res.data];
 						for (let val of list) {
 							let personsstatus = val.persons.find(i => i.customer == user._id)
-							if (personsstatus.status == 1) {
+							if (personsstatus?.status == 1) {
 								val.status = '2';
 							}
 							val.persons = val.persons.filter(i => i.status == '0')