zs 2 năm trước cách đây
mục cha
commit
c892ce3cc3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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')